summaryrefslogtreecommitdiff
path: root/include/linux/mfd/tmio.h
diff options
context:
space:
mode:
authorArnd Hannemann <arnd@arndnet.de>2010-09-10 20:54:20 +0400
committerSamuel Ortiz <sameo@linux.intel.com>2010-10-29 02:29:14 +0400
commit68accd7370a90b899ea6563ba9032e5a102ec1b5 (patch)
tree8b4df083ccea7a30f90f18b0858e7299c1089040 /include/linux/mfd/tmio.h
parent777271d0f33da306575ef776c75f66fc27246bf0 (diff)
downloadlinux-68accd7370a90b899ea6563ba9032e5a102ec1b5.tar.xz
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