aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host/sdhci.c')
-rw-r--r--drivers/mmc/host/sdhci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 336ab06aeb2f..3bb9b88772cf 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -1395,11 +1395,11 @@ static void sdhci_do_set_ios(struct sdhci_host *host, struct mmc_ios *ios)
1395 /* 1395 /*
1396 * If your platform has 8-bit width support but is not a v3 controller, 1396 * If your platform has 8-bit width support but is not a v3 controller,
1397 * or if it requires special setup code, you should implement that in 1397 * or if it requires special setup code, you should implement that in
1398 * platform_8bit_width(). 1398 * platform_bus_width().
1399 */ 1399 */
1400 if (host->ops->platform_8bit_width) 1400 if (host->ops->platform_bus_width) {
1401 host->ops->platform_8bit_width(host, ios->bus_width); 1401 host->ops->platform_bus_width(host, ios->bus_width);
1402 else { 1402 } else {
1403 ctrl = sdhci_readb(host, SDHCI_HOST_CONTROL); 1403 ctrl = sdhci_readb(host, SDHCI_HOST_CONTROL);
1404 if (ios->bus_width == MMC_BUS_WIDTH_8) { 1404 if (ios->bus_width == MMC_BUS_WIDTH_8) {
1405 ctrl &= ~SDHCI_CTRL_4BITBUS; 1405 ctrl &= ~SDHCI_CTRL_4BITBUS;