diff mbox

[v2,2/3] mmc: cb710: Return err value in cb710_wait_while_busy()

Message ID 20110223231743.GA30908@void.printf.net (mailing list archive)
State New, archived
Headers show

Commit Message

Chris Ball Feb. 23, 2011, 11:17 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/mmc/host/cb710-mmc.c b/drivers/mmc/host/cb710-mmc.c
index 66b4ce5..ce2a47b 100644
--- a/drivers/mmc/host/cb710-mmc.c
+++ b/drivers/mmc/host/cb710-mmc.c
@@ -205,7 +205,7 @@  static int cb710_wait_while_busy(struct cb710_slot *slot, uint8_t mask)
 			"WAIT12: waited %d loops, mask %02X, entry val %08X, exit val %08X\n",
 			limit, mask, e, x);
 #endif
-	return 0;
+	return err;
 }
 
 static void cb710_mmc_set_transfer_size(struct cb710_slot *slot,