]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit07515a620d74551909b31b43690339c4e927ecc8
tree741cc5ac765e8ce564d4ef1d4b04ca725d4cd5aa
parente855c7e48d8b446282cf2d0a60053073a93b9f68
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