mmc: sdhci: Fix 4-bit wide support capability
authorDmitry Shmidt <dimitrysh@google.com>
Thu, 7 Oct 2010 17:55:04 +0000 (10:55 -0700)
committerDmitry Shmidt <dimitrysh@google.com>
Thu, 7 Oct 2010 17:55:04 +0000 (10:55 -0700)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/mmc/host/sdhci.c

index 5d0792dc6890eb223c1bcb1cb09eef3df30d32ff..6709cfb5d4e881cf9ffa7b70101a8e247b0b055a 100644 (file)
@@ -1853,9 +1853,9 @@ int sdhci_add_host(struct sdhci_host *host)
 
        if (host->quirks & SDHCI_QUIRK_8_BIT_DATA)
                mmc->caps |= MMC_CAP_8_BIT_DATA;
-       else if (!(host->quirks & SDHCI_QUIRK_FORCE_1_BIT_DATA))
-               mmc->caps |= MMC_CAP_4_BIT_DATA;
 
+       if (!(host->quirks & SDHCI_QUIRK_FORCE_1_BIT_DATA))
+               mmc->caps |= MMC_CAP_4_BIT_DATA;
 
        if (!(host->quirks & SDHCI_QUIRK_NO_SDIO_IRQ))
                mmc->caps |= MMC_CAP_SDIO_IRQ;