diff options
author | Takashi Iwai <tiwai@suse.de> | 2010-12-16 17:54:14 +0100 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-01-08 23:52:20 -0500 |
commit | d75c1084db5e4a30603729852046d0a87d4f7688 (patch) | |
tree | 3cc38c02caf81c1697648de391b38cc07a797a61 /drivers/mmc/host | |
parent | 22113efd00491310da802f3b1a9a66cfcf415fac (diff) | |
download | op-kernel-dev-d75c1084db5e4a30603729852046d0a87d4f7688.zip op-kernel-dev-d75c1084db5e4a30603729852046d0a87d4f7688.tar.gz |
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/host')
-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 d2638ff..0dc905b 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; } |