[ARM] 5322/1: Fix fastpath issue in mmci.c
authorLinus Walleij <triad@df.lth.se>
Fri, 24 Oct 2008 20:17:50 +0000 (21:17 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 28 Oct 2008 00:00:42 +0000 (00:00 +0000)
commit9e9430213f85ebdaf40026ec790295420efd0f91
treef1e2ee98fade8b1c66c129f4b92dd00e9e06207e
parentf8d56f1771e4867acc461146764b4feeb5245669
[ARM] 5322/1: Fix fastpath issue in mmci.c

Fix fastpath issues

Since mmci_request() can be called from a non-interrupt
context, and does, during kernel init, causing a host
of debug messages during boot if you enable spinlock debugging,
we need to use the spinlock calls that save IRQ flags and
restore them.

Signed-off-by: Linus Walleij <triad@df.lth.se>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/host/mmci.c