]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
mmc: mediatek: Change signal voltage error to dev_dbg()
authorNicolas Boichat <drinkcat@chromium.org>
Thu, 3 Mar 2016 10:19:44 +0000 (18:19 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 17 Mar 2016 13:54:35 +0000 (14:54 +0100)
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 <drinkcat@chromium.org>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/mtk-sd.c

index f01972eb57e967030817ba8768cf92b3fecafee0..07809f4007be6d3cdfd20f9ba519ec1db9a6071d 100644 (file)
@@ -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 {