summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTanmay Kathpalia <[email protected]>2026-01-25 04:39:57 -0800
committerPeng Fan <[email protected]>2026-02-03 22:11:05 +0800
commit7f9e9b50336777ce07ca7d7bc40bd82856d12468 (patch)
tree16f2b7b438d4bb1672d64d2ef4d509e8d2fca733
parent9652f2591d52804ffd9e88faecfe0ba246d6c317 (diff)
mmc: Fix typos in comments and debug messages
Fix the following typos in drivers/mmc/mmc.c: - "neiter" -> "neither" in __mmc_switch() comment - "witdh" -> "width" in bus_width() warning message - "enver" -> "never" in mmc_select_mode_and_width() comment Signed-off-by: Tanmay Kathpalia <[email protected]> Reviewed-by: Peng Fan <[email protected]> Signed-off-by: Peng Fan <[email protected]>
-rw-r--r--drivers/mmc/mmc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 7dadff27abe..c5705f4f215 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -889,7 +889,7 @@ static int __mmc_switch(struct mmc *mmc, u8 set, u8 index, u8 value,
return ret;
/*
- * In cases when neiter allowed to poll by using CMD13 nor we are
+ * In cases when neither allowed to poll by using CMD13 nor we are
* capable of polling by using mmc_wait_dat0, then rely on waiting the
* stated timeout to be sufficient.
*/
@@ -1663,7 +1663,7 @@ static inline int bus_width(uint cap)
return 4;
if (cap == MMC_MODE_1BIT)
return 1;
- pr_warn("invalid bus witdh capability 0x%x\n", cap);
+ pr_warn("invalid bus width capability 0x%x\n", cap);
return 0;
}
@@ -2200,7 +2200,7 @@ static int mmc_select_mode_and_width(struct mmc *mmc, uint card_caps)
return 0;
if (!mmc->ext_csd) {
- pr_debug("No ext_csd found!\n"); /* this should enver happen */
+ pr_debug("No ext_csd found!\n"); /* this should never happen */
return -ENOTSUPP;
}