[MMC] PXA and i.MX: don't avoid sending stop command on error
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Tue, 2 May 2006 19:02:39 +0000 (20:02 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 2 May 2006 19:02:39 +0000 (20:02 +0100)
commit58741e8b3603e56c3699550e8bc89cb136329343
tree84896f991d3d7cb08d7ae0588f0bba9e2937b681
parent37be4e7809e0581db85387e126ae4da68c3d6286
[MMC] PXA and i.MX: don't avoid sending stop command on error

Always send a stop command at the end of a data transfer.  If we avoid
sending the stop command, some cards remain in data transfer mode, and
refuse to accept further read/write commands.

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