]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
mmc: sdhci: Enable bus-width test for JMicron controllers
authorTakashi Iwai <tiwai@suse.de>
Thu, 16 Dec 2010 16:54:14 +0000 (17:54 +0100)
committerChris Ball <cjb@laptop.org>
Sun, 9 Jan 2011 04:52:20 +0000 (23:52 -0500)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-pci.c

index d2638ffc4ed20dd82767eb2708145208dee02fb1..0dc905b20eee122543b9365cdecdfe1185307730 100644 (file)
@@ -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;
 }