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: 4069411 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 103FA9F271 for ; Sat, 26 Apr 2014 19:36:06 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E435620254 for ; Sat, 26 Apr 2014 19:36:04 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D6C992024F for ; Sat, 26 Apr 2014 19:36:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751540AbaDZTee (ORCPT ); Sat, 26 Apr 2014 15:34:34 -0400 Received: from mail-ee0-f52.google.com ([74.125.83.52]:50958 "EHLO mail-ee0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751564AbaDZTeb (ORCPT ); Sat, 26 Apr 2014 15:34:31 -0400 Received: by mail-ee0-f52.google.com with SMTP id e49so3586747eek.25 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 Cc: Nicolas Pitre , Chris Ball , Ulf Hansson , Jason Cooper , Andrew Lunn , Gregory Clement , linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org 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> Sender: linux-mmc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-mmc@vger.kernel.org X-Spam-Status: No, score=-7.4 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 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: