]> 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)
commite855c7e48d8b446282cf2d0a60053073a93b9f68
treeed40843e6e306917818f00aa00dc0a3c37d98d31
parent30bc4539bf41c860d47831774c7f89f80c7589c5
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