]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: Add runtime and system-wide PM to the TMIO MMC driver
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Thu, 5 May 2011 16:13:12 +0000 (16:13 +0000)
committerChris Ball <cjb@laptop.org>
Wed, 25 May 2011 03:53:51 +0000 (23:53 -0400)
commit4172416a1977375b43230551e7c184ebb3d9dbdd
treeed40843e6e306917818f00aa00dc0a3c37d98d31
parent54bdc7dc5b71c327df6347e8d30af672b8a66b27
mmc: Add runtime and system-wide PM to the TMIO MMC driver

Add runtime and system-wide power management to the TMIO MMC driver
in PIO and DMA modes, allowing it to properly save and restore its
state during system suspend. Runtime PM is very crude ATM, because
the controller has to be powered on all the time to detect card
hotplug events.

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