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: 3188451 Return-Path: X-Original-To: patchwork-linux-mmc@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 138799F3AE for ; Fri, 15 Nov 2013 14:23:34 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id F275A20855 for ; Fri, 15 Nov 2013 14:23:32 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 51C7420692 for ; Fri, 15 Nov 2013 14:23:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752256Ab3KOOX1 (ORCPT ); Fri, 15 Nov 2013 09:23:27 -0500 Received: from mail-bk0-f50.google.com ([209.85.214.50]:53001 "EHLO mail-bk0-f50.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752402Ab3KOOWp (ORCPT ); Fri, 15 Nov 2013 09:22:45 -0500 Received: by mail-bk0-f50.google.com with SMTP id e11so279014bkh.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 Cc: Sebastian Hesselbarth , Nicolas Pitre , Chris Ball , Thomas Petazzoni , Jason Cooper , Andrew Lunn , linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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> 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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 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: