summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/card
diff options
context:
space:
mode:
authorJaehoon Chung <jh80.chung@samsung.com>2011-08-10 11:46:28 +0200
committerChris Ball <cjb@laptop.org>2011-08-13 20:50:31 +0200
commit7435bb7950ba8a3cbfa6d0c01e92588562533a3f (patch)
treeb3ba7a528692233ab3303c210b8577a357c8db22 /drivers/mmc/card
parentmmc: sdhci: use f_max instead of host->clock for timeouts (diff)
downloadlinux-7435bb7950ba8a3cbfa6d0c01e92588562533a3f.tar.xz
linux-7435bb7950ba8a3cbfa6d0c01e92588562533a3f.zip
mmc: core: use defined R1_STATE_PRG macro for card status
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc/card')
-rw-r--r--drivers/mmc/card/mmc_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mmc/card/mmc_test.c b/drivers/mmc/card/mmc_test.c
index 742dc98a034c..2bf229acd3b8 100644
--- a/drivers/mmc/card/mmc_test.c
+++ b/drivers/mmc/card/mmc_test.c
@@ -224,7 +224,7 @@ static void mmc_test_prepare_mrq(struct mmc_test_card *test,
static int mmc_test_busy(struct mmc_command *cmd)
{
return !(cmd->resp[0] & R1_READY_FOR_DATA) ||
- (R1_CURRENT_STATE(cmd->resp[0]) == 7);
+ (R1_CURRENT_STATE(cmd->resp[0]) == R1_STATE_PRG);
}
/*