From patchwork Thu Mar 3 10:19:44 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicolas Boichat X-Patchwork-Id: 8490951 Return-Path: X-Original-To: patchwork-linux-mmc@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C6A15C0553 for ; Thu, 3 Mar 2016 10:20:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F243120351 for ; Thu, 3 Mar 2016 10:20:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id EF226202FF for ; Thu, 3 Mar 2016 10:20:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755790AbcCCKUA (ORCPT ); Thu, 3 Mar 2016 05:20:00 -0500 Received: from mail-pf0-f182.google.com ([209.85.192.182]:36645 "EHLO mail-pf0-f182.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755336AbcCCKT6 (ORCPT ); Thu, 3 Mar 2016 05:19:58 -0500 Received: by mail-pf0-f182.google.com with SMTP id 63so12542082pfe.3 for ; Thu, 03 Mar 2016 02:19:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id; bh=rNSWrlpg+mrkca2Wi4uMQHj7iX1OQhSu4gZN5/jXBsY=; b=Gsy39Y5PAZgVmoNPhpMexeBP5L9Pjm5EnpJNQhjfQjrPxixm9GBGJ2ChWJA+RPMBen QYtHRvzQcolkUgqtlxhuzJL7q5oeYt0aF0w2aSXK61/igDxCKnDU6OOOu8XAPTpGgS6A Yg2jsdBLbrOnyAV6vwNanN//KAr8QztzEXmDA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=rNSWrlpg+mrkca2Wi4uMQHj7iX1OQhSu4gZN5/jXBsY=; b=S+bOCBDClOaAz1MueKIOwGORx7pmDXWvZ0mzNEBpheoG5kxmZF6VCh3gchoSZHWEiX EPqNt1xGnIbq+CWXDC3XEwzHQt0Bmu3c4xaA9g0wCrHEmjyPMCmlz0EY9Gvdw3Ongdqd YRr75591SwIGJ1u0OFiX6fpHsEPCdFA+RXjT277nonm3Ct6DIWGFP1mqHXYIH7xpPAph xAx0AJ2u6OKsfPnQZT2t9b2GWSkqBMRwjFIchrzsf50OLm5Ok/ANjcBh9H0xyfDY9rni ME1UWriaY7f0clJ8KlfaZqhSgPnQPIvrfy2IT+Q5sDlMEUxECn3+Eo9OaaU/K3NxtgIi sZwg== X-Gm-Message-State: AD7BkJIONP1N+w9dceS2EdZF+v6W4j9poxjpxoM7Eah9o3h6Uwfma45HR1t6PKsRlt1lzw== X-Received: by 10.98.31.21 with SMTP id f21mr2468810pff.134.1457000397968; Thu, 03 Mar 2016 02:19:57 -0800 (PST) Received: from drinkcat.tpe.corp.google.com ([172.30.210.53]) by smtp.gmail.com with ESMTPSA id wx3sm57842230pab.25.2016.03.03.02.19.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 03 Mar 2016 02:19:57 -0800 (PST) From: Nicolas Boichat To: Ulf Hansson Cc: Matthias Brugger , Chaotian Jing , Nicolas Boichat , Geert Uytterhoeven , linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, dianders@chromium.org Subject: [PATCH 1/2] mmc: mediatek: Change signal voltage error to dev_dbg() Date: Thu, 3 Mar 2016 18:19:44 +0800 Message-Id: <1457000385-2317-1-git-send-email-drinkcat@chromium.org> X-Mailer: git-send-email 2.7.0.rc3.207.g0ac5344 Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,RP_MATCHES_RCVD,T_DKIM_INVALID,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- Similar to b19caf379c82e99737c29bc15d7b7fd7d24279f9 mmc: dw_mmc: Change signal voltage error to dev_dbg() drivers/mmc/host/mtk-sd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c index f01972e..07809f4 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 {