diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2017-06-13 15:07:52 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2017-06-20 10:30:49 +0200 |
commit | 6cf4156c0988fe9ee14f24144dcfcac35b177d85 (patch) | |
tree | 87d810a5b9e143a1577b022fb566cb925e7b1fac | |
parent | 03dbaa04a2e5bac0ae907a9ed31472bc4bb56fd3 (diff) | |
download | linux-stable-6cf4156c0988fe9ee14f24144dcfcac35b177d85.tar.gz linux-stable-6cf4156c0988fe9ee14f24144dcfcac35b177d85.tar.bz2 linux-stable-6cf4156c0988fe9ee14f24144dcfcac35b177d85.zip |
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>
-rw-r--r-- | drivers/mmc/host/sdhci-pci-core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/host/sdhci-pci-core.c b/drivers/mmc/host/sdhci-pci-core.c index 227a5cb4b3bf..8489eab678fc 100644 --- a/drivers/mmc/host/sdhci-pci-core.c +++ b/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 || |