From: Adrian Hunter Date: Tue, 13 Jun 2017 12:07:52 +0000 (+0300) Subject: mmc: sdhci-pci: Enable card detect wake for Intel BYT-related SD controllers X-Git-Tag: v4.13-rc1~179^2~10 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6cf4156c0988fe9ee14f24144dcfcac35b177d85;p=karo-tx-linux.git mmc: sdhci-pci: Enable card detect wake for Intel BYT-related SD controllers Signed-off-by: Adrian Hunter Signed-off-by: Ulf Hansson --- 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 ||