summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2010-12-16 17:54:14 +0100
committerChris Ball <cjb@laptop.org>2011-01-09 05:52:20 +0100
commitd75c1084db5e4a30603729852046d0a87d4f7688 (patch)
tree3cc38c02caf81c1697648de391b38cc07a797a61
parentmmc: Test bus-width for old MMC devices (diff)
downloadlinux-d75c1084db5e4a30603729852046d0a87d4f7688.tar.xz
linux-d75c1084db5e4a30603729852046d0a87d4f7688.zip
mmc: sdhci: Enable bus-width test for JMicron controllers
Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Chris Ball <cjb@laptop.org>
-rw-r--r--drivers/mmc/host/sdhci-pci.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
index d2638ffc4ed2..0dc905b20eee 100644
--- a/drivers/mmc/host/sdhci-pci.c
+++ b/drivers/mmc/host/sdhci-pci.c
@@ -381,6 +381,8 @@ static int jmicron_probe_slot(struct sdhci_pci_slot *slot)
slot->chip->pdev->device == PCI_DEVICE_ID_JMICRON_JMB388_ESD)
jmicron_enable_mmc(slot->host, 1);
+ slot->host->mmc->caps |= MMC_CAP_BUS_WIDTH_TEST;
+
return 0;
}