]> git.karo-electronics.de Git - karo-tx-linux.git/commit
mmc: block: add checking of r/w command response
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Mon, 20 Jun 2011 19:10:49 +0000 (20:10 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:34:09 +0000 (08:34 +0200)
commit023df6b0327565478a36a0490005feb3df43b597
tree3f9fa90686f6029cec5ff2043da7c307b16ab15d
parenta7ba5484f7e4396fb9ae6e34e82616216a6d3c2c
mmc: block: add checking of r/w command response

Check the status bits in the r/w command response for any errors.
If error bits are set, then we won't have seen any data transferred,
so it's pointless doing any further checking.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Pawel Moll <pawel.moll@arm.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/card/block.c