mmc: mmci: don't read command response when invalid
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Tue, 11 Jan 2011 16:35:56 +0000 (16:35 +0000)
committerChris Ball <cjb@laptop.org>
Wed, 26 Jan 2011 02:53:46 +0000 (21:53 -0500)
commit9047b435a0b43952f5d1f7eb15a9b63a36efc7f2
tree065f85eb0a24659a3b79059c20e092afaaa3be08
parent021cb59ae3869fb18ebc9fceb959f379c5ca835c
mmc: mmci: don't read command response when invalid

Don't read the command response from the registers when either the
command timed out (because there was no response from the card) or
the checksum on the response was invalid.

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