mmc: mmci: Put the device into low power state at system suspend
authorUlf Hansson <ulf.hansson@linaro.org>
Thu, 23 Jan 2014 00:11:33 +0000 (01:11 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 12 May 2014 10:52:35 +0000 (12:52 +0200)
For CONFIG_PM_SLEEP, the device were always left in full power state
after system suspend.

We solely relied on a power domain to put it into low power state,
which is an unreasonable requirement to put on SOCs to implement.
Especially for those SOCs not supporting power domains at all.

Use pm_runtime_force_suspend|resume() as the system suspend callbacks,
to resolve the issue.

Cc: Russell King <linux@arm.linux.org.uk>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>

No differences found