From patchwork Thu Mar 16 13:29:03 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Icenowy Zheng X-Patchwork-Id: 9628195 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 97EC76048C for ; Thu, 16 Mar 2017 13:32:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8695128535 for ; Thu, 16 Mar 2017 13:32:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 778FC285EB; Thu, 16 Mar 2017 13:32:44 +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.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham 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 914F628535 for ; Thu, 16 Mar 2017 13:32:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=kcoK9Qnep/vbQqLQiO5vvq8NsAZJVV1gXZyKjV+eolU=; b=PSV 9StLq8RD5AnyH3CzyfDjd+uNGof8q1vN7HM6+3BC3EJDmyLtr1Jm/sqSRL9RVYt/fYoo8mU0ZFoRW NGf4091tXZ+0pJR0jSvLmhk5zSPW2OHJxPEdFUL9zGpdF1Et8gHxdcvnDoKUMEh6lenon3sNexg/r xeuqXp4OcD4aC/D2eJG+sfydMPAsugIKv4TO6Wp/yRNb25kp1Jbga9yV8WCpyhhCi3o8wPUnwY0Ed G7sTvt/gtvITHUsm+5hkJAlUzPm5cnzKRhp1uDjFHyRIVOVm9whHQ94dpCsjFG8crS1UoHDDMV1IO x65Vsjy9DNb6Yy/WMOh2z1eJw4N0z0Q==; 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 1coVWA-0002RA-A5; Thu, 16 Mar 2017 13:32:38 +0000 Received: from forward14j.cmail.yandex.net ([2a02:6b8:0:1630::b4]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1coVVI-00018i-7n for linux-arm-kernel@lists.infradead.org; Thu, 16 Mar 2017 13:31:53 +0000 Received: from smtp3m.mail.yandex.net (smtp3m.mail.yandex.net [IPv6:2a02:6b8:0:2519::125]) by forward14j.cmail.yandex.net (Yandex) with ESMTP id 5A66322660; Thu, 16 Mar 2017 16:31:19 +0300 (MSK) Received: from smtp3m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3m.mail.yandex.net (Yandex) with ESMTP id E772A2840CB9; Thu, 16 Mar 2017 16:31:12 +0300 (MSK) Received: by smtp3m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id BpkFQSti7P-TQEqad5e; Thu, 16 Mar 2017 16:29:35 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aosc.xyz; s=mail; t=1489671072; bh=8E4ap5hGKVnTGzdx1Vzt0JN22xDQXt16ATD7pN78uUs=; h=From:To:Cc:Subject:Date:Message-Id; b=O+THwQJTDGOgSfSODQ6WMUqCcucP5d2uwdgtnJFgirwDFOQfVGOgGGFse7NG1qNZo cZEhbqoy2vADIEiVQNzr8N7FYS17EC79JSjzD8DLE0GvDfDaXHjPttUb+1Oqtric/R KQOiRUkzt8NO9DIh6vEN9thSYnhk3dGE8XccrqAU= Authentication-Results: smtp3m.mail.yandex.net; dkim=pass header.i=@aosc.xyz X-Yandex-ForeignMX: US X-Yandex-Suid-Status: 1 0,1 0,1 0,1 0,1 0,1 0,1 0,1 0,1 1130000036118848 From: Icenowy Zheng To: Ulf Hansson , Maxime Ripard , Chen-Yu Tsai , Hans de Goede Subject: [PATCH] mmc: sunxi: change controller error info to debug level Date: Thu, 16 Mar 2017 21:29:03 +0800 Message-Id: <20170316132903.61246-1-icenowy@aosc.xyz> X-Mailer: git-send-email 2.12.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170316_063145_471281_158F42C6 X-CRM114-Status: UNSURE ( 6.54 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-sunxi@googlegroups.com, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Icenowy Zheng MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The controller's errors are usually normal (for example, for MMC or SDIO cards, some errors are expected to happen; and for boards without a dedicated card detect pin the error info will even flood console and hide other normal messages) and hard to understand. Change their print level to debug, thus it won't be shown to generic users. Signed-off-by: Icenowy Zheng Acked-by: Maxime Ripard --- drivers/mmc/host/sunxi-mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/sunxi-mmc.c b/drivers/mmc/host/sunxi-mmc.c index 6ffcd2838272..0391c62cc99f 100644 --- a/drivers/mmc/host/sunxi-mmc.c +++ b/drivers/mmc/host/sunxi-mmc.c @@ -489,7 +489,7 @@ static void sunxi_mmc_dump_errinfo(struct sunxi_mmc_host *host) cmd->opcode == SD_IO_RW_DIRECT)) return; - dev_err(mmc_dev(host->mmc), + dev_dbg(mmc_dev(host->mmc), "smc %d err, cmd %d,%s%s%s%s%s%s%s%s%s%s !!\n", host->mmc->index, cmd->opcode, data ? (data->flags & MMC_DATA_WRITE ? " WR" : " RD") : "",