Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9bab9d2 authored by Nicolas Boichat's avatar Nicolas Boichat Committed by Ulf Hansson
Browse files

mmc: mediatek: Change signal voltage error to dev_dbg()



In commit ceae98f2 ("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: default avatarNicolas Boichat <drinkcat@chromium.org>
Reviewed-by: default avatarDouglas Anderson <dianders@chromium.org>
Signed-off-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
parent 49312c1f
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -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);
		ret = regulator_set_voltage(mmc->supply.vqmmc, min_uv, max_uv);
		if (ret) {
		if (ret) {
			dev_err(host->dev,
			dev_dbg(host->dev,
					"Regulator set error %d: %d - %d\n",
					"Regulator set error %d: %d - %d\n",
					ret, min_uv, max_uv);
					ret, min_uv, max_uv);
		} else {
		} else {