mmc: sdhci-esdhc-imx: Enable/Disable mmc clock during runtime suspend
authorMichael Trimarchi <michael@amarulasolutions.com>
Thu, 4 Jan 2018 15:30:59 +0000 (16:30 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 9 Jan 2018 08:21:49 +0000 (09:21 +0100)
commit3602785b341a9545eee97f6ce634091da1a2b56d
treee380bd4bf6fbb4f22c915bbab1aae4512e277e54
parenta0ad3087586d0945a3cdfa755f951995dfc1b17e
mmc: sdhci-esdhc-imx: Enable/Disable mmc clock during runtime suspend

mmc clock can be stopped during runtime suspend and restart during runtime
resume if the sdio irq is not enabled. Stop sdio clock reduce EMI of
the device when the bus is not in use.

Signed-off-by: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-esdhc-imx.c