]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: tmio: runtime suspend the controller, where possible
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 11 May 2011 16:51:11 +0000 (16:51 +0000)
committerChris Ball <cjb@laptop.org>
Wed, 25 May 2011 03:53:55 +0000 (23:53 -0400)
commit7e739036e75a096fa953896f5c61e909613c2e7e
tree0ef14a5a255472ba32473c54679af43866265387
parentb2463aa21eb5f77b5ac171a5d754652cb3d65ed8
mmc: tmio: runtime suspend the controller, where possible

The TMIO MMC controller cannot be powered off to save power, when no
card is plugged in, because then it will not be able to detect a new
card-insertion event. On some implementations, however, it is
possible to switch to using another source to detect card insertion.
This patch adds support for such implementations.

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