]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5363554b7781ea8843ea66852801e8d3d4c28834
tree065f85eb0a24659a3b79059c20e092afaaa3be08
parent826350bf3e1997af34a82d16571c87c9118c2f27
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