[ARM] Fix potential MMCI bug
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Mon, 8 Jan 2007 16:42:51 +0000 (16:42 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 8 Jan 2007 19:49:51 +0000 (19:49 +0000)
commite47c222b22cd53c317a5573e1dc5f9e0cbd46380
treee9c4563c7cc425a99a52931f591a8357273ed20c
parentdb6ccbb61c1291c8aaefadcc8304444f27eeb88d
[ARM] Fix potential MMCI bug

The MMCI driver might end up aborting the initial command and leaving
the data part of the command sequence still in place.  Avoid this
problem by ensuring that any data sequence is properly cleared out
when a command completes.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/mmci.c