mmc: sdhci: Drop redundant code for SDIO IRQs
authorUlf Hansson <ulf.hansson@linaro.org>
Sun, 8 Sep 2019 10:12:35 +0000 (12:12 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 11 Sep 2019 14:10:19 +0000 (16:10 +0200)
commitaf5d2b7b0d24f528ed27688386ea74723eafde7b
treed1aeebcad5c06aa139b285bf572b12d87d18efe4
parenta84ad3242e53658c25bef0bc5b82e44e040390ba
mmc: sdhci: Drop redundant code for SDIO IRQs

Nowadays sdhci prevents runtime suspend when SDIO IRQs are enabled.

However, some variants such as sdhci-esdhc-imx's, tries to allow runtime
suspend while having the SDIO IRQs enabled, but without supporting remote
wakeups. This support is a bit questionable, especially if the host device
have a PM domain attached that can be power gated, but more importantly,
the code have also become redundant (which was not the case when it was
introduced).

Rather than keeping the redundant code around, let's drop it and leave this
to be revisited later on.

Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h