Commit 69f25f9b authored by Shawn Lin's avatar Shawn Lin Committed by Ulf Hansson

mmc: core: turn the pr_info under CONFIG_MMC_DEBUG into pr_debug

There are lots of debug message in core.c which use pr_debug
for better dynamic log level control. So it doesn't make sense
for those print to still keep working only under CONFIG_MMC_DEBUG.
Signed-off-by: default avatarShawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent b044b1bc
...@@ -2436,10 +2436,9 @@ static int mmc_rescan_try_freq(struct mmc_host *host, unsigned freq) ...@@ -2436,10 +2436,9 @@ static int mmc_rescan_try_freq(struct mmc_host *host, unsigned freq)
{ {
host->f_init = freq; host->f_init = freq;
#ifdef CONFIG_MMC_DEBUG pr_debug("%s: %s: trying to init card at %u Hz\n",
pr_info("%s: %s: trying to init card at %u Hz\n",
mmc_hostname(host), __func__, host->f_init); mmc_hostname(host), __func__, host->f_init);
#endif
mmc_power_up(host, host->ocr_avail); mmc_power_up(host, host->ocr_avail);
/* /*
...@@ -2670,9 +2669,7 @@ int mmc_power_save_host(struct mmc_host *host) ...@@ -2670,9 +2669,7 @@ int mmc_power_save_host(struct mmc_host *host)
{ {
int ret = 0; int ret = 0;
#ifdef CONFIG_MMC_DEBUG pr_debug("%s: %s: powering down\n", mmc_hostname(host), __func__);
pr_info("%s: %s: powering down\n", mmc_hostname(host), __func__);
#endif
mmc_bus_get(host); mmc_bus_get(host);
...@@ -2696,9 +2693,7 @@ int mmc_power_restore_host(struct mmc_host *host) ...@@ -2696,9 +2693,7 @@ int mmc_power_restore_host(struct mmc_host *host)
{ {
int ret; int ret;
#ifdef CONFIG_MMC_DEBUG pr_debug("%s: %s: powering up\n", mmc_hostname(host), __func__);
pr_info("%s: %s: powering up\n", mmc_hostname(host), __func__);
#endif
mmc_bus_get(host); mmc_bus_get(host);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment