[PATCH 02/12] mmci: fix multi block transfers
Russell King - ARM Linux
linux at arm.linux.org.uk
Thu Jul 29 09:55:11 EDT 2010
On Thu, Jul 29, 2010 at 02:42:39PM +0100, Colin Tuckley wrote:
> > However, I think this will make GPIO on Realview wrong - iirc, the card
> > detection bits from PL061 are inverted.
>
> See above.
I've no idea what the right thing on Realview is because the documentation
is too poor in this area. Although the Realview EB user manual gives you
the GPIO block signals, it doesn't say what sense they are.
It looks to me from the hardware description diagrams, that the GPIO block
is fed with an inverted signal from the socket card detect pin - which
itself is active low. That means the GPIO signal is in a positive logic
state.
So I don't think that the "return !status;" is right even for the GPIO
case.
More information about the linux-arm-kernel
mailing list