commit | 36f1d7e817a5540f6624ce1007339688bd443308 | [log] [tgz] |
---|---|---|
author | Adrian Hunter <adrian.hunter@intel.com> | Tue Feb 27 14:51:25 2018 +0200 |
committer | Ulf Hansson <ulf.hansson@linaro.org> | Mon Mar 05 13:04:32 2018 +0100 |
tree | e3a6fea5947f33eef7eb2207675e85adcc93cf75 | |
parent | d5d568fad9a52ac4eba5d9a080a5cddb8498fa5e [diff] |
mmc: slot-gpio: Add a function to enable/disable card detect IRQ wakeup Commit 03dbaa04a2e5 ("mmc: slot-gpio: Add support to enable irq wake on cd_irq") enabled wakeup at initialization. However drivers may wish to enable and disable based on different criteria. Add a helper function mmc_gpio_set_cd_wake() to make it easy for drivers to do that. Signed-off-by: Adrian Hunter <adrian.hunter@intel.com> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>