From patchwork Sat Apr 26 19:34:13 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 4069471 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 4013D9F387 for ; Sat, 26 Apr 2014 19:38:19 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 4079B2025A for ; Sat, 26 Apr 2014 19:38:18 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6C5D520254 for ; Sat, 26 Apr 2014 19:38:10 +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 1We8NP-0006h1-Gh; Sat, 26 Apr 2014 19:35:07 +0000 Received: from mail-ee0-x229.google.com ([2a00:1450:4013:c00::229]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1We8NB-0005cW-9w for linux-arm-kernel@lists.infradead.org; Sat, 26 Apr 2014 19:34:53 +0000 Received: by mail-ee0-f41.google.com with SMTP id t10so3721824eei.28 for ; Sat, 26 Apr 2014 12:34:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=AXN5TkZ85ctjQo7gl4HubYtdosPAk2uPV42zjS2xIfw=; b=rmKpZv7H5UnBR8A4zPeCWJ1NUl+Olf9kIuMt16gXWFM79EK/Tsmm9PJqByszk3VARG aVp04Q+VX4744QL04/OXUtGPOvK+BdhJiH6/pTJxll7NK6F1IAqgQ7Ur/m/RgANo4Gx4 U7MiYVOyLx1T5R6DgZpf4rcltlhccLKdv+17/McL1XsMjj4JqIA7FCWWJCH5zi979lGR d4nFOgmS3vFLIUXBk0mxI7Z1SeMEavwJ/DIG5FKwwMJzI6QkTvAll8ciQsU8YvoLZXaW ogUVwo3dNJSCFXOhIbRyrimxlOncFhsn2m6cPPkzjFya2T9CI4lsLXpUK6rlnaXm+6tx s3Iw== X-Received: by 10.14.22.69 with SMTP id s45mr240055ees.56.1398540869546; Sat, 26 Apr 2014 12:34:29 -0700 (PDT) Received: from topkick.lan (dslc-082-083-251-183.pools.arcor-ip.net. [82.83.251.183]) by mx.google.com with ESMTPSA id x46sm35644617een.17.2014.04.26.12.34.27 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 26 Apr 2014 12:34:28 -0700 (PDT) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [PATCH RESEND 1/3] mmc: mvsdio: silence card detect notice Date: Sat, 26 Apr 2014 21:34:13 +0200 Message-Id: <1398540855-27367-2-git-send-email-sebastian.hesselbarth@gmail.com> In-Reply-To: <1398540855-27367-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1398540855-27367-1-git-send-email-sebastian.hesselbarth@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20140426_123453_508780_1877E71A X-CRM114-Status: GOOD ( 11.05 ) X-Spam-Score: -0.1 (/) Cc: Andrew Lunn , Ulf Hansson , Jason Cooper , Nicolas Pitre , linux-mmc@vger.kernel.org, Chris Ball , linux-kernel@vger.kernel.org, Gregory Clement , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 mvsdio reports method of card detection with dev_notice, while for removable cards it may be sane, for non-removable cards it is not. Also, as the user cannot do anything about it, silence the message by reducing it from dev_notice to dev_dbg. Signed-off-by: Sebastian Hesselbarth Acked-by: Jason Cooper Acked-by: Ulf Hansson --- Cc: Nicolas Pitre Cc: Chris Ball Cc: Ulf Hansson Cc: Jason Cooper Cc: Andrew Lunn Cc: Gregory Clement Cc: linux-mmc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- drivers/mmc/host/mvsdio.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c index 45aa2206741d..41aca7f28c23 100644 --- a/drivers/mmc/host/mvsdio.c +++ b/drivers/mmc/host/mvsdio.c @@ -801,10 +801,10 @@ static int mvsd_probe(struct platform_device *pdev) goto out; if (!(mmc->caps & MMC_CAP_NEEDS_POLL)) - dev_notice(&pdev->dev, "using GPIO for card detection\n"); + dev_dbg(&pdev->dev, "using GPIO for card detection\n"); else - dev_notice(&pdev->dev, - "lacking card detect (fall back to polling)\n"); + dev_dbg(&pdev->dev, "lacking card detect (fall back to polling)\n"); + return 0; out: