mmc: dw_mmc: Change signal voltage error to dev_dbg()
authorDoug Anderson <dianders@chromium.org>
Sat, 11 Oct 2014 04:16:16 +0000 (21:16 -0700)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 10 Nov 2014 11:40:35 +0000 (12:40 +0100)
In (28f92b5 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: Doug Anderson <dianders@chromium.org>
Reviewed-by: Alim Akhtar <alim.akhtar@samsung.com>
Acked-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/dw_mmc.c

index ca67f69..545f621 100644 (file)
@@ -1080,7 +1080,7 @@ static int dw_mci_switch_voltage(struct mmc_host *mmc, struct mmc_ios *ios)
                ret = regulator_set_voltage(mmc->supply.vqmmc, min_uv, max_uv);
 
                if (ret) {
-                       dev_err(&mmc->class_dev,
+                       dev_dbg(&mmc->class_dev,
                                         "Regulator set error %d: %d - %d\n",
                                         ret, min_uv, max_uv);
                        return ret;