From patchwork Thu Jan 26 00:01:39 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 9538177 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5976D601D7 for ; Thu, 26 Jan 2017 00:03:16 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 4C92927E33 for ; Thu, 26 Jan 2017 00:03:16 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 3E1EC27FA6; Thu, 26 Jan 2017 00:03:16 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id D633F27E33 for ; Thu, 26 Jan 2017 00:03:15 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cWXWs-0005Zl-3g; Thu, 26 Jan 2017 00:03:06 +0000 Received: from mail-pg0-f43.google.com ([74.125.83.43]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cWXWo-0005X4-LX for linux-amlogic@lists.infradead.org; Thu, 26 Jan 2017 00:03:04 +0000 Received: by mail-pg0-f43.google.com with SMTP id 3so9689646pgj.3 for ; Wed, 25 Jan 2017 16:02:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=aYDy8hx7RLr5AfdF7slSEg2Iy1oaKcjWcoor90Wf7YY=; b=eT0wqTZzOy8Y1v40KgYUbUy7wN3Ffik/kWQFom9VIDae1W83VtjkGMQkcx72k8Ct66 8OeQ9kTJqiHd5SVeRyIzpumZsNi2P3VXHxkMk0VOzEvKhLIiY4LZKupAMPgU89s9tlVo JQj+qGFOjnkQAMqRKk/4moCcCTlOGo22Wrlu41KRJTRZu2VZ6T/uThJQL8umpCWxT2Mj Qrio8+JRu9Ebo1v4kmdu4JfG1ziOn1z0Zy1IIlPfomHeKKkww4pTdpzdQECVaLi6o3pB myc+9DWRd5TOgBjGSE0wYpmgJMM4+iW5TMoNVzuWuWaZHUKGwdqrB6vaSIY9smIUN4Zw 1nNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=aYDy8hx7RLr5AfdF7slSEg2Iy1oaKcjWcoor90Wf7YY=; b=iP+6WM+OYecItWWkK+rV0XaMXp2ClNXizSemYrjVJttXzX48E018Q25sdECNEFkFzP 32PJKCVF5qxV+vQ2l77Zt+/ZMh7PWsfTEyGOfxYcBvBXHBrLuq4QTduuHPl7MDBXBsu/ v6LlY9/sJdKjZ8cKjaioPRL6+xQBLtqLYGWI1YmKWahV3lOxIonjBToyjcRAq7J2MMhp sjI3Gue5fGGXZmkfkm31z7x+YrU5XVsTmx2jq6/gUyuGtpjYObRl+XBKE0mmjvTRGSJK vBIvx1t50Edk+IAtxt5tqzioSv7yHw/ZjCCZzxSuyJowRn1hCYopoFQC+vBi7DaKUJUo JJeQ== X-Gm-Message-State: AIkVDXLs18S10SWqLckNKQ75221nFviLV8ieUx4uNfdzqp2kjZ0urhvNdWqRbhPIPjg2wpvH X-Received: by 10.84.239.16 with SMTP id w16mr24129plk.73.1485388901131; Wed, 25 Jan 2017 16:01:41 -0800 (PST) Received: from localhost (c-98-203-232-209.hsd1.wa.comcast.net. [98.203.232.209]) by smtp.gmail.com with ESMTPSA id j192sm3583936pfc.60.2017.01.25.16.01.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 25 Jan 2017 16:01:40 -0800 (PST) From: Kevin Hilman To: Ulf Hansson Subject: [PATCH] MMC: meson: cleanup stray debug messages Date: Wed, 25 Jan 2017 16:01:39 -0800 Message-Id: <20170126000139.5567-1-khilman@baylibre.com> X-Mailer: git-send-email 2.9.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170125_160302_743500_CE39D9A9 X-CRM114-Status: UNSURE ( 7.86 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Carlo Caione , linux-amlogic@lists.infradead.org, linux-mmc@vger.kernel.org Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+patchwork-linux-amlogic=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Cleanup some debug prints that cause needless noise during normal usage. Signed-off-by: Kevin Hilman --- drivers/mmc/host/meson-gx-mmc.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/meson-gx-mmc.c b/drivers/mmc/host/meson-gx-mmc.c index b352760c041e..e848ff125fd7 100644 --- a/drivers/mmc/host/meson-gx-mmc.c +++ b/drivers/mmc/host/meson-gx-mmc.c @@ -480,9 +480,9 @@ static void meson_mmc_start_cmd(struct mmc_host *mmc, struct mmc_command *cmd) blk_len = cfg & (CFG_BLK_LEN_MASK << CFG_BLK_LEN_SHIFT); blk_len >>= CFG_BLK_LEN_SHIFT; if (blk_len != ilog2(cmd->data->blksz)) { - dev_warn(host->dev, "%s: update blk_len %d -> %d\n", + dev_dbg(host->dev, "%s: update blk_len %d -> %d\n", __func__, blk_len, - ilog2(cmd->data->blksz)); + ilog2(cmd->data->blksz)); blk_len = ilog2(cmd->data->blksz); cfg &= ~(CFG_BLK_LEN_MASK << CFG_BLK_LEN_SHIFT); cfg |= blk_len << CFG_BLK_LEN_SHIFT; @@ -740,7 +740,8 @@ static int meson_mmc_probe(struct platform_device *pdev) ret = mmc_of_parse(mmc); if (ret) { - dev_warn(&pdev->dev, "error parsing DT: %d\n", ret); + if (ret != -EPROBE_DEFER) + dev_warn(&pdev->dev, "error parsing DT: %d\n", ret); goto free_host; }