]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: Allow the tmio_mmc mfd driver to specify get_cd handler
authorArnd Hannemann <arnd@arndnet.de>
Tue, 24 Aug 2010 15:26:59 +0000 (17:26 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 28 Oct 2010 22:29:08 +0000 (00:29 +0200)
commitad9fb526f036777feaf9549182db6eb6efd8edf5
treebb7dfaa2cba6cc40fad59ee0f6a084ceb30eac7b
parent8314c6425500dad54223433ac1f48eb39d1ea348
mmc: Allow the tmio_mmc mfd driver to specify get_cd handler

Some controllers, supported by the tmio_mmc driver do not have the card
detect pin of a slot connected, so that polling needs to be used and
card detection is handled by other means.
This patch exposes a get_cd hook for that purpose.

Signed-off-by: Arnd Hannemann <arnd@arndnet.de>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mmc/host/tmio_mmc.c
include/linux/mfd/tmio.h