mmc: sdhci: Do not unnecessarily enable wakeup for card detect interrupt
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 27 Feb 2018 12:51:23 +0000 (14:51 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 5 Mar 2018 12:04:31 +0000 (13:04 +0100)
commit9c316b38b7801e5dabfc41ab700a0caf743e38b4
tree789b70664d39cb6840fe6855ef3627f0c9cb62c3
parent7b7d57fd1b773d25d8358c6017592b4928bf76ce
mmc: sdhci: Do not unnecessarily enable wakeup for card detect interrupt

Do not unnecessarily enable card detect wakeup in the cases that the card
is not removable or a GPIO is used for card detect.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c