[MMC] Proper check of SCR error code
authorPierre Ossman <drzeus@drzeus.cx>
Mon, 5 Dec 2005 10:00:50 +0000 (10:00 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 5 Dec 2005 10:00:50 +0000 (10:00 +0000)
commite781de44153885d5f772731726b4c0c16f8af021
treef250d18bb4a912945dc9c1fb7208e75010546987
parente4f5c82a92c2a546a16af1614114eec19120e40a
[MMC] Proper check of SCR error code

The routine reading the SCR wasn't paying proper attention to the
error codes returned from the driver.

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