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 <tanmay.kathpalia@altera.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
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.
*/
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;
}
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;
}