]> 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)
commite8540cafa8f7696cff11cfc25644e1a349373131
tree0ef14a5a255472ba32473c54679af43866265387
parentc6cff402e3bd9d247e64c42520ee2c29bb5e5608
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