[PATCH] ARM: RealView SD/MMC Card detection and write-protect using GPIOLIB

Russell King - ARM Linux linux at arm.linux.org.uk
Mon Jan 25 13:04:40 EST 2010


On Mon, Jan 25, 2010 at 12:58:20PM +0000, Colin Tuckley wrote:
> The switch to using GPIOLIB broke the sd/mmc card detection on the
> RealView development boards because ARCH_REQUIRE_GPIOLIB
> and GPIO_PL061 were not always selected. Forcing the use of gpiolib also
> means that the write-protect detection works.

No; if it's broken then it's because something's wrong, and I think there
was a mail about that recently.  I don't particularly like forcing options
on when there's better solutions to the problem (like fixing the cause of
the actual breakage.)



More information about the linux-arm-kernel mailing list