diff options
-rw-r--r-- | drivers/mmc/card/mmc_test.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/mmc/card/mmc_test.c b/drivers/mmc/card/mmc_test.c index 21adc27f4132..0131c6c0d8f6 100644 --- a/drivers/mmc/card/mmc_test.c +++ b/drivers/mmc/card/mmc_test.c | |||
@@ -226,9 +226,10 @@ static int mmc_test_wait_busy(struct mmc_test_card *test) | |||
226 | 226 | ||
227 | if (!busy && mmc_test_busy(&cmd)) { | 227 | if (!busy && mmc_test_busy(&cmd)) { |
228 | busy = 1; | 228 | busy = 1; |
229 | printk(KERN_INFO "%s: Warning: Host did not " | 229 | if (test->card->host->caps & MMC_CAP_WAIT_WHILE_BUSY) |
230 | "wait for busy state to end.\n", | 230 | printk(KERN_INFO "%s: Warning: Host did not " |
231 | mmc_hostname(test->card->host)); | 231 | "wait for busy state to end.\n", |
232 | mmc_hostname(test->card->host)); | ||
232 | } | 233 | } |
233 | } while (mmc_test_busy(&cmd)); | 234 | } while (mmc_test_busy(&cmd)); |
234 | 235 | ||