summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/host/sdhci-pci-core.c
diff options
context:
space:
mode:
authorAdrian Hunter2017-06-13 14:07:52 +0200
committerUlf Hansson2017-06-20 10:30:49 +0200
commit6cf4156c0988fe9ee14f24144dcfcac35b177d85 (patch)
tree87d810a5b9e143a1577b022fb566cb925e7b1fac /drivers/mmc/host/sdhci-pci-core.c
parentmmc: slot-gpio: Add support to enable irq wake on cd_irq (diff)
downloadkernel-qcow2-linux-6cf4156c0988fe9ee14f24144dcfcac35b177d85.tar.gz
kernel-qcow2-linux-6cf4156c0988fe9ee14f24144dcfcac35b177d85.tar.xz
kernel-qcow2-linux-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>
Diffstat (limited to 'drivers/mmc/host/sdhci-pci-core.c')
-rw-r--r--drivers/mmc/host/sdhci-pci-core.c2
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 ||