aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc/core/mmc_ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/core/mmc_ops.c')
-rw-r--r--drivers/mmc/core/mmc_ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/core/mmc_ops.c b/drivers/mmc/core/mmc_ops.c
index 7aa13d01a835..4e11d56b3f70 100644
--- a/drivers/mmc/core/mmc_ops.c
+++ b/drivers/mmc/core/mmc_ops.c
@@ -414,7 +414,7 @@ int mmc_switch(struct mmc_card *card, u8 set, u8 index, u8 value,
414 return -EBADMSG; 414 return -EBADMSG;
415 } else { 415 } else {
416 if (status & 0xFDFFA000) 416 if (status & 0xFDFFA000)
417 printk(KERN_WARNING "%s: unexpected status %#x after " 417 pr_warning("%s: unexpected status %#x after "
418 "switch", mmc_hostname(card->host), status); 418 "switch", mmc_hostname(card->host), status);
419 if (status & R1_SWITCH_ERROR) 419 if (status & R1_SWITCH_ERROR)
420 return -EBADMSG; 420 return -EBADMSG;
@@ -476,7 +476,7 @@ mmc_send_bus_test(struct mmc_card *card, struct mmc_host *host, u8 opcode,
476 else if (len == 4) 476 else if (len == 4)
477 test_buf = testdata_4bit; 477 test_buf = testdata_4bit;
478 else { 478 else {
479 printk(KERN_ERR "%s: Invalid bus_width %d\n", 479 pr_err("%s: Invalid bus_width %d\n",
480 mmc_hostname(host), len); 480 mmc_hostname(host), len);
481 kfree(data_buf); 481 kfree(data_buf);
482 return -EINVAL; 482 return -EINVAL;