summaryrefslogtreecommitdiff
path: root/include/linux/mfd/tmio.h
diff options
context:
space:
mode:
authorArnd Hannemann <arnd@arndnet.de>2010-09-10 18:54:20 +0200
committerSamuel Ortiz <sameo@linux.intel.com>2010-10-29 00:29:14 +0200
commit68accd7370a90b899ea6563ba9032e5a102ec1b5 (patch)
tree8b4df083ccea7a30f90f18b0858e7299c1089040 /include/linux/mfd/tmio.h
parent777271d0f33da306575ef776c75f66fc27246bf0 (diff)
downloadlwn-68accd7370a90b899ea6563ba9032e5a102ec1b5.tar.gz
lwn-68accd7370a90b899ea6563ba9032e5a102ec1b5.zip
ARM: mach-shmobile: ap4evb: Fix hotplug for SDHI1
On AP4EVB the card detect pin of the top SD/MMC slot is not directly connected to the tmio/mmcif controller but to a GPIO pin, so polling needs to be done for SDHI1 and MMCIF in order to support hotplug for that slot. SHDI1 and MMCIF share that slot, and the used controller is selected by a DIP switch. This patch adds a helper function to check if a card is present in that particular slot, registers this function with SDHI1 and MMCIF and enables polling for SDHI1. Signed-off-by: Arnd Hannemann <arnd@arndnet.de> Tested-by: Yusuke Goda <yusuke.goda.sx@renesas.com> Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include/linux/mfd/tmio.h')
0 files changed, 0 insertions, 0 deletions