Browse Source

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>
Takashi Iwai 14 years ago
parent
commit
d75c1084db
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/mmc/host/sdhci-pci.c

+ 2 - 0
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;
 }