summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/core.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2011-09-10 22:58:42 +0200
committerArnd Bergmann <arnd@arndb.de>2011-09-10 22:58:42 +0200
commit72787aa866bfa6bcbd259e7a39b2f9a2f412794e (patch)
tree1769d854a26f444875f7cdfd9982fe494a4cff71 /drivers/mmc/core/core.c
parentad9f6677575e80ce23cb491d5ffb7b536772552e (diff)
parent0a072a247fa79979dd31813decb6b118d7d511fd (diff)
downloadtalos-op-linux-72787aa866bfa6bcbd259e7a39b2f9a2f412794e.tar.gz
talos-op-linux-72787aa866bfa6bcbd259e7a39b2f9a2f412794e.zip
Merge branches 'tegra/board' and 'at91/board' into next/board
Diffstat (limited to 'drivers/mmc/core/core.c')
-rw-r--r--drivers/mmc/core/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index 89bdeaec7182..91a0a7460ebb 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -1502,7 +1502,7 @@ static int mmc_do_erase(struct mmc_card *card, unsigned int from,
goto out;
}
} while (!(cmd.resp[0] & R1_READY_FOR_DATA) ||
- R1_CURRENT_STATE(cmd.resp[0]) == 7);
+ R1_CURRENT_STATE(cmd.resp[0]) == R1_STATE_PRG);
out:
return err;
}
OpenPOWER on IntegriCloud