From patchwork Tue Apr 22 23:51:21 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Doug Anderson X-Patchwork-Id: 4037011 Return-Path: X-Original-To: patchwork-linux-samsung-soc@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 9B4B59F1F4 for ; Tue, 22 Apr 2014 23:51:38 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 734B7201DE for ; Tue, 22 Apr 2014 23:51:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5A2DD201BC for ; Tue, 22 Apr 2014 23:51:30 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752519AbaDVXv3 (ORCPT ); Tue, 22 Apr 2014 19:51:29 -0400 Received: from mail-vc0-f202.google.com ([209.85.220.202]:64147 "EHLO mail-vc0-f202.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752503AbaDVXv1 (ORCPT ); Tue, 22 Apr 2014 19:51:27 -0400 Received: by mail-vc0-f202.google.com with SMTP id lh14so43396vcb.3 for ; Tue, 22 Apr 2014 16:51:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=US7ga32SdcHOxKJ8JjC2D1v1uCZ0xW2c/W14fcFywwE=; b=YiX934k95UGpPTxicuE53smxMgI/7596FUY0hQivSZNprR8LIn0b7u6zw8znbbdld2 J4m763bQ+7KvpIpW225IhW0XCOuOnPTBNUFdRVobCsQEB0nohit9dNezZIgHrFy06UmR pAolMUgAgiWUCKT8JHyKGNOok0DIupGDFIbTC1za8EjIdtf/PTYx0YMBMBtQO23QSuGB Yij28Ic2oKXI3a3SG8JSp3iw9FLs37vPGh2pR+aLzFSEzvwP1CVEYi8XatRmE6jXh9jC adbHJpWW7X88LJQ09S9pEyeWioF1p+ho9Mic4kXYnGG0KL3mTELpORDmTVqUuJvVPE5H uigw== X-Gm-Message-State: ALoCoQlkl+bmus3ExQLyzs5vXrBKC67G5hxJXBTU7D7nL+LNV5NwQdUxBIz+EImusy0nOMb3CGi0Vn+lqpiSLsUFYS7Y23FG1DB0akAptIyUI9EvT0vo+IiCw7bAxrcB07AdHApQStQ+49kA+eDbPOxDlIrM3Zl1QyUSFQ0WMMsV42+jlYnK0rxN40Hhjqmfn0dE44wzepYdfinlbgHVAVc/IEavRuOTGQ== X-Received: by 10.236.203.113 with SMTP id e77mr21282208yho.15.1398210686794; Tue, 22 Apr 2014 16:51:26 -0700 (PDT) Received: from corp2gmr1-1.hot.corp.google.com (corp2gmr1-1.hot.corp.google.com [172.24.189.92]) by gmr-mx.google.com with ESMTPS id e40si5823110yhf.0.2014.04.22.16.51.26 for (version=TLSv1.1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 22 Apr 2014 16:51:26 -0700 (PDT) Received: from tictac.mtv.corp.google.com (tictac.mtv.corp.google.com [172.22.72.141]) by corp2gmr1-1.hot.corp.google.com (Postfix) with ESMTP id 9EB0631C04E; Tue, 22 Apr 2014 16:51:26 -0700 (PDT) Received: by tictac.mtv.corp.google.com (Postfix, from userid 121310) id 3822A80953; Tue, 22 Apr 2014 16:51:26 -0700 (PDT) From: Doug Anderson To: Seungwon Jeon , Jaehoon Chung Cc: yuvaraj.cd@samsung.com, Alim Akhtar , Sonny Rao , linux-samsung-soc@vger.kernel.org, Doug Anderson , chris@printf.net, ulf.hansson@linaro.org, linux-mmc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] mmc: dw_mmc: Don't print data errors Date: Tue, 22 Apr 2014 16:51:21 -0700 Message-Id: <1398210681-22976-1-git-send-email-dianders@chromium.org> X-Mailer: git-send-email 1.9.1.423.g4596e3a Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org X-Spam-Status: No, score=-7.5 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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 Data errors are completely expected during tuning. Printing them out is confusing people looking at the kernel logs. They see things like: [ 3.613296] dwmmc_exynos 12200000.dwmmc0: data error, status 0x00000088 ...and they think something is wrong with their hardware. Remove the printouts. We'll leave it up to a higher level to report about errors. Signed-off-by: Doug Anderson Reviewed-by: Alim Akhtar --- drivers/mmc/host/dw_mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index cced599..4c8d423 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c @@ -1248,7 +1248,7 @@ static int dw_mci_data_complete(struct dw_mci *host, struct mmc_data *data) data->error = -EIO; } - dev_err(host->dev, "data error, status 0x%08x\n", status); + dev_dbg(host->dev, "data error, status 0x%08x\n", status); /* * After an error, there may be data lingering