From patchwork Fri Nov 15 14:22:34 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sebastian Hesselbarth X-Patchwork-Id: 3188681 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 59CFA9F3AE for ; Fri, 15 Nov 2013 15:23:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ACC2820931 for ; Fri, 15 Nov 2013 15:23:47 +0000 (UTC) Received: from casper.infradead.org (casper.infradead.org [85.118.1.10]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 4C8C320806 for ; Fri, 15 Nov 2013 15:23:46 +0000 (UTC) Received: from merlin.infradead.org ([2001:4978:20e::2]) by casper.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VhKJJ-0003la-Sd; Fri, 15 Nov 2013 14:23:50 +0000 Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1VhKJ3-0000eR-4C; Fri, 15 Nov 2013 14:23:33 +0000 Received: from mail-bk0-x232.google.com ([2a00:1450:4008:c01::232]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VhKIb-0000Xy-TX for linux-arm-kernel@lists.infradead.org; Fri, 15 Nov 2013 14:23:07 +0000 Received: by mail-bk0-f50.google.com with SMTP id e11so279017bkh.9 for ; Fri, 15 Nov 2013 06:22:44 -0800 (PST) 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=xLZqxl9StoHucFeL8meOA7QjaEvM/xXAfOKXKWm0qug=; b=mGh9NDuAzlUt1Aa9rmb/O8X7nIsP8OPF/84OY4myx5MSOt1tD8Tp/52w0CliLeAL6G ANdoO52JqrEEGk7QgWoPKn8S91aJXs+xS/2yA3j5KFcewPsEq+mMs08jOjYpd+DW8wmR jQZdT9b2gExJJ1+eq82o0HclHqKrSapTy0pueK7WMeSWDYxO/ggRxJGsY6rDKrPX8VNp uE4mZ60dQjxNwvGY4ACaIcwzZwHUcLce7hmLD/OVGFUn82ftuu7KcvoPTvkluysUgqgv LKdgjOtpXLUvEJ8LsOV16GsG7X7Xp1KkmBYBiOovsxGwmKgluc79fmeZzkSJQdxtHciW 51yg== X-Received: by 10.204.164.15 with SMTP id c15mr2410347bky.22.1384525363944; Fri, 15 Nov 2013 06:22:43 -0800 (PST) Received: from topkick.lan (dslc-082-083-251-183.pools.arcor-ip.net. [82.83.251.183]) by mx.google.com with ESMTPSA id b7sm7163891bkg.1.2013.11.15.06.22.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Nov 2013 06:22:43 -0800 (PST) From: Sebastian Hesselbarth To: Sebastian Hesselbarth Subject: [PATCH 3/3] mmc: mvsdio: silence card detect notice Date: Fri, 15 Nov 2013 15:22:34 +0100 Message-Id: <1384525354-901-4-git-send-email-sebastian.hesselbarth@gmail.com> In-Reply-To: <1384525354-901-1-git-send-email-sebastian.hesselbarth@gmail.com> References: <1384525354-901-1-git-send-email-sebastian.hesselbarth@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20131115_092306_141200_EBA77960 X-CRM114-Status: GOOD ( 10.66 ) X-Spam-Score: -2.0 (--) Cc: Thomas Petazzoni , Andrew Lunn , Jason Cooper , Nicolas Pitre , linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, Chris Ball , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth 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=-4.1 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 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 --- Cc: Nicolas Pitre Cc: Chris Ball Cc: Thomas Petazzoni Cc: Jason Cooper Cc: Andrew Lunn Cc: linux-mmc@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org Cc: linux-kernel@vger.kernel.org --- drivers/mmc/host/mvsdio.c | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/host/mvsdio.c b/drivers/mmc/host/mvsdio.c index 25f51be..d17b399 100644 --- a/drivers/mmc/host/mvsdio.c +++ b/drivers/mmc/host/mvsdio.c @@ -816,10 +816,9 @@ static int __init 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: