]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mmc: sdhci-dove: allow GPIOs to be used for card detection on Dove
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 22 Nov 2012 23:55:51 +0000 (23:55 +0000)
committerChris Ball <cjb@laptop.org>
Thu, 6 Dec 2012 18:55:14 +0000 (13:55 -0500)
commitf8ec589b86f66d0e13a262b6e8b589b03dde5173
tree02387f2ac18412ca5e388f81690175f4bbd5749d
parentc430689f3f0f73e1aadaaf6cfd39930be1e73da1
mmc: sdhci-dove: allow GPIOs to be used for card detection on Dove

This commit taken from Rabeeh's Cubox kernel and re-worked for DT;
Sebastian Hasselbrath is believed to be the original author.

Some Cuboxes require a GPIO for card detection; this implements the
optional GPIO support for card detection.  This GPIO is logic 0 for
card inserted.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sdhci-dove.c