[PATCH] mmc_rescan: reduce verbosity

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



since commit 820f2bcfdc32cd90061224c930cf670f961e12d1 mmc_rescan
includes a pr_info which prints 4 lines each second for hosts configured
with MMC_CAP_NEEDS_POLL. Tested on i.MX51's sdhci-esdhc.
This patch increase log level to debug (but maybe the right solution
would be to remove this log).

Signed-off-by: Eric BÃnard <eric@xxxxxxxxxx>
---
 drivers/mmc/core/core.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c
index c94565d..6ecfcd9 100644
--- a/drivers/mmc/core/core.c
+++ b/drivers/mmc/core/core.c
@@ -1482,7 +1482,7 @@ void mmc_rescan(struct work_struct *work)
 			mmc_release_host(host);
 			goto out;
 		}
-		pr_info("%s: %s: trying to init card at %u Hz\n",
+		pr_debug("%s: %s: trying to init card at %u Hz\n",
 			mmc_hostname(host), __func__, host->f_init);
 
 		mmc_power_up(host);
-- 
1.7.0.4

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux