From patchwork Fri Dec 29 17:00:12 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 122945 Delivered-To: patch@linaro.org Received: by 10.140.22.227 with SMTP id 90csp4917527qgn; Fri, 29 Dec 2017 09:05:27 -0800 (PST) X-Google-Smtp-Source: ACJfBotKi2LchryZbKWhGhYH6SICsvCHC3sMGBWvWeAWKVIe0wFuLPIuXtZF/DO0berrjztaQCnE X-Received: by 10.80.244.202 with SMTP id v10mr45619347edm.91.1514567127321; Fri, 29 Dec 2017 09:05:27 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1514567127; cv=none; d=google.com; s=arc-20160816; b=zh9Txiq8mSO0yjhZQcKeHFJG+Jetc35ZgFiOyNWXmBdc+u9CDx2HHQ2gC/LyK6QqAW 3ofW56wr+Ulh63FVBpkVS5HFt6cT3pd9hcwefr4IAdZSH0AId17sKiaTo2O7VWFPPO24 m4PGwTd59nFYXOFaiYyN69xLi5PEWdrsfK/Nu8xijMFV9vdXWNgZ4DWSXH8kadmWqych 7TJrOoLmsG7P7SXFWFwXpYm9/wk2qtdI0rE+nNp3LoD+pzU52fGld/2fyCuzvCogzMzi wrsdXA/igqT2Pp2j02eShP3mUt1GTwpg2IG4t6cC08vQe67u6N7E2visGLy8Ft6lrLVv m3rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:dkim-filter:arc-authentication-results; bh=j5m7K0Gf0mPedmGbpxH3ERi5MQOguh2NhNLohcIfp7U=; b=DNlEdSB8EB8KGsd3HDLFhRjprkHK4amAKAEWyZK5+2prOD+kylYQ1PZy5o1GblhKKB gnro9pz145+nPDGbADYaYe0kky4fRkpx7B8jgQMh4YbVsCTDKYaNUoOL6nyFX9o9cjy5 3HlzyLoyuOS/EqykL0Ti8uMqzZfGuNIyfeciFK0mVB0Ac4T92G8I8tzlvUBjdUJAiaAB JyiIuVbo1qbx2jpO2VE+TNE0/bMq3XnGXjIpZvKVkkupMpl5YnnB9uQHuN4FHVqACTrv e3av/cA9a8IaqW48vj/gDi+GdmL+3v+lh/sf/aZtz0t2a8AtVEoFaNXbd5qXSfTcdhcy lvjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=2bFcs5lm; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Return-Path: Received: from lists.denx.de (dione.denx.de. [81.169.180.215]) by mx.google.com with ESMTP id d36si4374442eda.310.2017.12.29.09.05.27; Fri, 29 Dec 2017 09:05:27 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) client-ip=81.169.180.215; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@nifty.com header.s=dec2015msa header.b=2bFcs5lm; spf=pass (google.com: best guess record for domain of u-boot-bounces@lists.denx.de designates 81.169.180.215 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de Received: by lists.denx.de (Postfix, from userid 105) id E2390C21C59; Fri, 29 Dec 2017 17:01:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lists.denx.de X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=RCVD_IN_DNSWL_BLOCKED, T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.0 Received: from lists.denx.de (localhost [IPv6:::1]) by lists.denx.de (Postfix) with ESMTP id 81603C21DDE; Fri, 29 Dec 2017 17:00:42 +0000 (UTC) Received: by lists.denx.de (Postfix, from userid 105) id 64EAAC21C59; Fri, 29 Dec 2017 17:00:39 +0000 (UTC) Received: from conuserg-08.nifty.com (conuserg-08.nifty.com [210.131.2.75]) by lists.denx.de (Postfix) with ESMTPS id 52A5AC21DA2 for ; Fri, 29 Dec 2017 17:00:38 +0000 (UTC) Received: from grover.sesame (FL1-125-199-20-195.osk.mesh.ad.jp [125.199.20.195]) (authenticated) by conuserg-08.nifty.com with ESMTP id vBTH0O9P000541; Sat, 30 Dec 2017 02:00:28 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conuserg-08.nifty.com vBTH0O9P000541 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1514566828; bh=BW+zZpu2LxaOj+3SIwmqqP4MS+qllA+OdMGd8n3GpJg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=2bFcs5lmDoAthxmLgZdW9ChxKs+MNSUya8ewUxoLvIpMklMzvy5G+TJjejgk/wd1g UKmA7topce90k3Wei5KQ4vyMrcmD+Jg2NglCMNKee3PX/He8c6Ef+XNkd0Ale3Ag6p 8kb563JVMPzYBzGzDc0vknYdk4iOMSMfO3oEvDjWOi8N5Jw8okmDgx1Dm08txpkxYW cc6V/xX7rgICNKmz7I5FxuWi1tQUFuR7fdyVmYWtYhUFJKgli6hE68zS8vNl65HpEE VFaKcrcRjmrT6G/vFbw25rGz3AfeikhqhCEywW0oDrkHI9KCAomTVBuFPdxcE0Axfu Nb+dLrVR2ImLA== X-Nifty-SrcIP: [125.199.20.195] From: Masahiro Yamada To: u-boot@lists.denx.de Date: Sat, 30 Dec 2017 02:00:12 +0900 Message-Id: <1514566812-16781-9-git-send-email-yamada.masahiro@socionext.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1514566812-16781-1-git-send-email-yamada.masahiro@socionext.com> References: <1514566812-16781-1-git-send-email-yamada.masahiro@socionext.com> Subject: [U-Boot] [PATCH 8/8] mmc: sdhci: change data transfer failure into debug message X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.18 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" During the tuning, drivers repeat data transfer, changing timing parameters in the controller hardware. So, the tuning commands (CMD19 for SD, CMD21 for eMMC) fail, and this is not a problem at all. Showing "Error detected..." in normal operation just make users upset. This should not be shown. Signed-off-by: Masahiro Yamada --- drivers/mmc/sdhci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/sdhci.c b/drivers/mmc/sdhci.c index 243e0e5..d31793a 100644 --- a/drivers/mmc/sdhci.c +++ b/drivers/mmc/sdhci.c @@ -86,8 +86,8 @@ static int sdhci_transfer_data(struct sdhci_host *host, struct mmc_data *data, do { stat = sdhci_readl(host, SDHCI_INT_STATUS); if (stat & SDHCI_INT_ERROR) { - printf("%s: Error detected in status(0x%X)!\n", - __func__, stat); + pr_debug("%s: Error detected in status(0x%X)!\n", + __func__, stat); return -EIO; } if (!transfer_done && (stat & rdy)) {