]> git.karo-electronics.de Git - mv-sheeva.git/commit
ARM: 6239/1: mmci: let core poll for card detection
authorRabin Vincent <rabin.vincent@stericsson.com>
Wed, 21 Jul 2010 11:50:31 +0000 (12:50 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 27 Jul 2010 09:48:44 +0000 (10:48 +0100)
commitf5e2574e734650bbeb801a31cc99e628f9a027af
treee7705dae6e6be70cc7b20129471c2498f9def7ac
parent528320db013b687c5f0150fd77eb4dc02ca328d1
ARM: 6239/1: mmci: let core poll for card detection

Use the MMC core's ability to poll for card detection.  This also has
the advantage of doing the gpio_get_value from a workqueue instead of
timer, allowing the gpio to be on a sleeping gpiochip.

Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/host/mmci.c