mmc: add runtime and system power-management support to the MMCIF driver
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 5 May 2011 16:20:48 +0000 (16:20 +0000)
committerChris Ball <cjb@laptop.org>
Wed, 25 May 2011 03:53:51 +0000 (23:53 -0400)
commitfaca6648e6f9659400bdafb985b50ba41f1a23b5
tree741cc5ac765e8ce564d4ef1d4b04ca725d4cd5aa
parente6ee7182c3b22afe0b983eac89dc020a93a13179
mmc: add runtime and system power-management support to the MMCIF driver

Adding support for runtime power-management to the MMCIF driver allows
it to save power as long as no card is present. To also allow to turn
off the power domain at that time, we release DMA channels during that
time, since on some sh-mobile systems the DMA controller(s) and the
MMCIF block belong to the same power domain. System-wide power
management has been tested with experimental PM patches on AP4-based
systems.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mmcif.c