From mboxrd@z Thu Jan 1 00:00:00 1970 From: Doug Anderson Subject: [PATCH] mmc: dw_mmc: Change signal voltage error to dev_dbg() Date: Fri, 10 Oct 2014 21:16:16 -0700 Message-ID: <1413000976-2038-1-git-send-email-dianders@chromium.org> Return-path: Received: from mail-pd0-f171.google.com ([209.85.192.171]:40635 "EHLO mail-pd0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750747AbaJKEQ0 (ORCPT ); Sat, 11 Oct 2014 00:16:26 -0400 Received: by mail-pd0-f171.google.com with SMTP id ft15so2740754pdb.30 for ; Fri, 10 Oct 2014 21:16:25 -0700 (PDT) Sender: linux-mmc-owner@vger.kernel.org List-Id: linux-mmc@vger.kernel.org To: Ulf Hansson , Seungwon Jeon , Jaehoon Chung Cc: Addy Ke , Sonny Rao , Alim Akhtar , Doug Anderson , chris@printf.net, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org 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 --- drivers/mmc/host/dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index 69f0cc6..c4afbdd 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -1075,7 +1075,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; -- 2.1.0.rc2.206.gedb03e5