]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4800db2950ed14228fc341a3f4fe3089dca32260
treee380bd4bf6fbb4f22c915bbab1aae4512e277e54
parentcc2fd8e765d5779a54fc7d7d6a1eda8322560fb1
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