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: 8490921 Return-Path: X-Original-To: patchwork-linux-mediatek@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 2F673C0553 for ; Thu, 3 Mar 2016 10:20:32 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 5BF5E20351 for ; Thu, 3 Mar 2016 10:20:31 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 90DA9202FF for ; Thu, 3 Mar 2016 10:20:30 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1abQMv-0002jT-Nt; Thu, 03 Mar 2016 10:20:29 +0000 Received: from mail-pf0-x233.google.com ([2607:f8b0:400e:c00::233]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1abQMl-0001Te-1n for linux-mediatek@lists.infradead.org; Thu, 03 Mar 2016 10:20:19 +0000 Received: by mail-pf0-x233.google.com with SMTP id 124so12636338pfg.0 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=K0TxR0wKKUCSf/lH0ZBpIn69tWxZ1HGqxPM645ubtsxis0sg2u2BuqgO2b8Ed/b0La tLfx5xKVRaZDhvByaSFOzt3FoaQNyovcPs0861nZUvY4m6XsEO8mRgaCfSWwvpjT/L4r z4Y7JVOWeyemKWL9H8aOHBRr7uXuJFKVzS8EIEiTquIYU5FUvDrn04Apx9gRwrhfa50p 0sEhykufu5WOn3dFo0tZQnxz4e0vaf7sGazWKdy8l0Rz4Q3iBYh3OClp6onFHSHZgVlR bnbJaPwPAWi4hFuTodyG3uhm8fPFyENiNnKMQ0/+TsUugknDQAa82AOFcAGwP+7Mozjn 3HYQ== X-Gm-Message-State: AD7BkJILsDO2hOYRHyMwPpSv7ceoDxL+YoVrIFUx2l38ETfFtjPjp8MvQmZm9qtLApO1+A== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160303_022019_182335_53B52A75 X-CRM114-Status: GOOD ( 10.62 ) X-Spam-Score: -2.7 (--) X-BeenThere: linux-mediatek@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Nicolas Boichat , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, dianders@chromium.org, Geert Uytterhoeven , Chaotian Jing , Matthias Brugger , linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "Linux-mediatek" Errors-To: linux-mediatek-bounces+patchwork-linux-mediatek=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,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 {