From: Takashi Iwai Date: Thu, 16 Dec 2010 16:54:14 +0000 (+0100) Subject: mmc: sdhci: Enable bus-width test for JMicron controllers X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d75c1084db5e4a30603729852046d0a87d4f7688;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git mmc: sdhci: Enable bus-width test for JMicron controllers Signed-off-by: Takashi Iwai Signed-off-by: Chris Ball --- 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; }