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)
commitf3737fa388388bc864bc63b1c70e3679fe839a52
treec3bb114e3ceb93da5145452d1961d1f73a6bbf19
parent571dce4f105cf2b8e57ec4330da71bd0cb6d38bb
mmc: mmci: Put the device into low power state at system suspend

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>
drivers/mmc/host/mmci.c
This page took 0.02479 seconds and 5 git commands to generate.