diff options
author | Adrian Hunter <[email protected]> | 2018-02-27 14:51:26 +0200 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2018-03-05 13:04:33 +0100 |
commit | d56ee1ff30860b12d6a072676114abb9d63f03b9 (patch) | |
tree | 918f9648f41a8bcb33cd7b60544f646d88e3c47d /scripts/gdb/linux/dmesg.py | |
parent | 36f1d7e817a5540f6624ce1007339688bd443308 (diff) |
mmc: sdhci-pci: Respect PM flags when enabling card detect GPIO IRQ wakeup
Commit 03dbaa04a2e5 ("mmc: slot-gpio: Add support to enable irq wake on
cd_irq") enabled wakeup at initialization. However, users also want to
control it from sysfs power/wakeup attribute. That means the driver needs
to check the PM flags before enabling it in the suspend callback. Add
support for that in sdhci-pci, which is the only driver presently using the
MMC_CAP_CD_WAKE flag, and remove the enabling in mmc_gpiod_request_cd_irq()
Signed-off-by: Adrian Hunter <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions