From: Nicolas Boichat Date: Thu, 3 Mar 2016 10:19:44 +0000 (+0800) Subject: mmc: mediatek: Change signal voltage error to dev_dbg() X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=f9bab9d2b169a9e80c1a710b19d792974787e899;p=linux-beck.git mmc: mediatek: Change signal voltage error to dev_dbg() In commit ceae98f20e36 ("mmc: core: Try other signal levels during power up") we can see that there are times when it's valid to try several signal voltages. Don't print an ugly error in the logs when that happens. Signed-off-by: Nicolas Boichat Reviewed-by: Douglas Anderson Signed-off-by: Ulf Hansson --- diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c index f01972eb57e9..07809f4007be 100644 --- a/drivers/mmc/host/mtk-sd.c +++ b/drivers/mmc/host/mtk-sd.c @@ -1038,7 +1038,7 @@ static int msdc_ops_switch_volt(struct mmc_host *mmc, struct mmc_ios *ios) ret = regulator_set_voltage(mmc->supply.vqmmc, min_uv, max_uv); if (ret) { - dev_err(host->dev, + dev_dbg(host->dev, "Regulator set error %d: %d - %d\n", ret, min_uv, max_uv); } else {