diff mbox

[v2] mmc_rescan: reduce verbosity

Message ID 1286868577-7729-1-git-send-email-eric@eukrea.com (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Eric BĂ©nard Oct. 12, 2010, 7:29 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index c94565d..cda9d29 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -1482,9 +1482,10 @@  void mmc_rescan(struct work_struct *work)
 			mmc_release_host(host);
 			goto out;
 		}
+#ifdef CONFIG_MMC_DEBUG
 		pr_info("%s: %s: trying to init card at %u Hz\n",
 			mmc_hostname(host), __func__, host->f_init);
-
+#endif
 		mmc_power_up(host);
 		sdio_reset(host);
 		mmc_go_idle(host);