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)
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>

No differences found