diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-12-16 17:54:14 +0100 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-01-09 05:52:20 +0100 |
commit | d75c1084db5e4a30603729852046d0a87d4f7688 (patch) | |
tree | 3cc38c02caf81c1697648de391b38cc07a797a61 /drivers/mmc | |
parent | mmc: Test bus-width for old MMC devices (diff) | |
download | linux-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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/sdhci-pci.c | 2 |
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; } |