]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
mmc: sdhci-pci: Enable card detect wake for Intel BYT-related SD controllers
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 13 Jun 2017 12:07:52 +0000 (15:07 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Jun 2017 08:30:49 +0000 (10:30 +0200)
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-pci-core.c

index 227a5cb4b3bf89acf8052f7d4202da9bb708d0b6..8489eab678fc7dc030299d8a3eac9f876c8b1bb9 100644 (file)
@@ -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 ||