ARM: 6307/1: mmci: allow the card detect GPIO value not to be inverted
commit2971944582ff43b7dedbb460777052243ac9915a
authorRabin Vincent <rabin.vincent@stericsson.com>
Mon, 9 Aug 2010 11:54:43 +0000 (9 12:54 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 26 Aug 2010 18:54:27 +0000 (26 19:54 +0100)
tree1f5a05fed4b3f386e6468a2d52ba087e20d6bcd2
parentd4348c678977c7093438bbbf2067c49396ae941b
ARM: 6307/1: mmci: allow the card detect GPIO value not to be inverted

On some platforms, the GPIO value from the gpio_cd pin doesn't need to
be inverted to get it active high.  Add a cd_invert platform data
parameter and change existing platforms using GPIO for CD (only
Realview) to enable it.

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>
arch/arm/mach-realview/core.c
drivers/mmc/host/mmci.c
include/linux/amba/mmci.h