mmc: slot-gpio: Add support to enable irq wake on cd_irq
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 13 Jun 2017 12:07:51 +0000 (15:07 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 20 Jun 2017 08:30:49 +0000 (10:30 +0200)
commit03dbaa04a2e5bac0ae907a9ed31472bc4bb56fd3
tree74384a33ffcde72122f4c45a088852d4b3587fad
parentd2a47176a877b1eccd3086a4c8d790d644d594cb
mmc: slot-gpio: Add support to enable irq wake on cd_irq

Add host capability MMC_CAP_CD_WAKE to enable irq wake on the card detect
irq.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/core/core.c
drivers/mmc/core/slot-gpio.c
include/linux/mmc/host.h