ARM: 5957/1: ARM: RealView SD/MMC Card detection and write-protect using GPIOLIB
authorColin Tuckley <colin.tuckley@arm.com>
Wed, 24 Feb 2010 14:23:10 +0000 (15:23 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 28 Apr 2010 21:21:52 +0000 (22:21 +0100)
The switch to using GPIOLIB broke the sd/mmc card detection on the
RealView development boards if GPIO_PL061 was not selected.
This patch selects GPIO_PL061 if GPIOLIB is selected.
The sense of the return value from mmc_status has also changed
and is corrected.

Signed-off-by: Colin Tuckley <colin.tuckley@arm.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

No differences found