Explorar el Código

mmc: sdhci-pci: Enable card detect wake for Intel BYT-related SD controllers

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Adrian Hunter hace 8 años
padre
commit
6cf4156c09
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      drivers/mmc/host/sdhci-pci-core.c

+ 1 - 1
drivers/mmc/host/sdhci-pci-core.c

@@ -659,7 +659,7 @@ static int byt_sd_probe_slot(struct sdhci_pci_slot *slot)
 {
 	byt_read_dsm(slot);
 	slot->host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY |
-				 MMC_CAP_AGGRESSIVE_PM;
+				 MMC_CAP_AGGRESSIVE_PM | MMC_CAP_CD_WAKE;
 	slot->cd_idx = 0;
 	slot->cd_override_level = true;
 	if (slot->chip->pdev->device == PCI_DEVICE_ID_INTEL_BXT_SD ||