mmc: sdhci-pci: Use device wakeup capability to determine MMC_PM_WAKE_SDIO_IRQ capability
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 9 Jan 2018 07:52:19 +0000 (09:52 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 17 Jan 2018 11:30:43 +0000 (12:30 +0100)
commite92cc35d627f13c85a3662949ddec79345498e33
treeb9cfbabb70b338168f6d04520d23b1c282170698
parent5c3c6126b62d29f539a8712c65c58afc9c9d2c91
mmc: sdhci-pci: Use device wakeup capability to determine MMC_PM_WAKE_SDIO_IRQ capability

PCI and ACPI determine if a device is wakeup capable, so use that to
determine the MMC_PM_WAKE_SDIO_IRQ capability correctly.

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