mmc: sdhci: mmc_rescan: reduce verbosity
commit4d0b8611cd4da64f075b8e07a126f0eb498fb153
authorEric Bénard <eric@eukrea.com>
Tue, 12 Oct 2010 07:29:37 +0000 (12 09:29 +0200)
committerChris Ball <cjb@laptop.org>
Sat, 23 Oct 2010 13:11:15 +0000 (23 21:11 +0800)
tree401db5395e1c74d2e5f3040a8fc7a6ea2959e378
parent88ae8b866488031b0e2fc05a27440fefec5e6927
mmc: sdhci: mmc_rescan: reduce verbosity

mmc_rescan() includes a pr_info which prints 4 lines each second for
hosts configured with MMC_CAP_NEEDS_POLL. This patch enables the message
only if CONFIG_MMC_DEBUG is selected. Tested on i.MX51's sdhci-esdhc.

Signed-off-by: Eric Bénard <eric@eukrea.com>
Acked-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Hein Tibosch <hein_tibosch@yahoo.es>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/core/core.c