mmc: sdhci: Rework sdhci_enable_irq_wakeups()
authorAdrian Hunter <adrian.hunter@intel.com>
Tue, 9 Jan 2018 07:52:22 +0000 (09:52 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 17 Jan 2018 11:30:43 +0000 (12:30 +0100)
commit81b14543ac81d529d6c07ce3be0cdfc9fe417389
tree3457a9c680b6efb139ad13f9054c1a435537518b
parent58e79b60751d1ea6d13e09c6095f5e4cd5e040ee
mmc: sdhci: Rework sdhci_enable_irq_wakeups()

In preparation for adding more conditions for whether IRQ wakeup is
enabled, rework sdhci_enable_irq_wakeups() so that needed bits are added
instead of adding them all and then removing the unneeded bits.

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