Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp628045ybl; Fri, 6 Dec 2019 03:43:02 -0800 (PST) X-Google-Smtp-Source: APXvYqyWq/WNqlGzMQeXBRTRJtU0N/Bp5iJlfObT0y1zCTirPV5ujE+P4r80FROz1X3sjIpUSHmA X-Received: by 2002:a05:6808:aa8:: with SMTP id r8mr6359910oij.7.1575632582045; Fri, 06 Dec 2019 03:43:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575632582; cv=none; d=google.com; s=arc-20160816; b=ysMt/mbODOM6VnRMosTlXdL2hnESfW0XLnBDsn4uaQyZf9gn3H6nbDXcWtBHzItVsG PFVD6g3wMt8R3nKb2CDVv7aM8a6nVt4Ab9gv18J466nNRnQcmspm2hq4EWTlNDKeEzZC aN8Dap2aJkLS4ZayNRk2tqWVgDPisuTjmtFx2FFIw0WDcMnjo6S/ksyBNmu0qIZzTtZH g7ZQ5cqpDMjAdWeZnY43FkgxB0vjvKqql1e/jnS2p89tCKEbU05j9DqDaRc2p1wgoQev W5Rh6tmZi5mXC7xuo3+DUBpoJnkmzvaeVs3MPfAwX0A0d8RGlcWDfxjDgxdCaw/UBsOH bOzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=oQQWI05cs5ZZbMyfIpjlE+7PWlwHVVzIAHXpj5+znlE=; b=SpJprmAinSTL0flIufqy//lhfpYeORHpqyjshJu3VKr0FNuo4M0ZiRcK2qlZebaNwI qH2pjT+0+Xp/ef6Zuam8O5CtQCnpsc5rmcj3JV1V91HUZFeY5AWxg+5v6ZaJszD/e5+W COxGjn3GHWDF3vFkzNHjRHTKYzu4ghUan3/m/mh1kXq/XzRcfyfrfHcWj08KzXreDjHD UV04ynoAGPDRKz8M1PvVnEN3/VNX1yV4SLvztWQahROdHfMT5pGrB9ndTiUFCX7E4s82 3RUW5s44iuwkvgX/lhfTBEX8ZR9IcoSXteLU4zdswuhp7voi5y4Z7Eodcb4p1xrmexRJ ZSQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Ri3f9kyD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l2si6931368oti.303.2019.12.06.03.42.48; Fri, 06 Dec 2019 03:43:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=Ri3f9kyD; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726171AbfLFLmS (ORCPT + 99 others); Fri, 6 Dec 2019 06:42:18 -0500 Received: from lelv0142.ext.ti.com ([198.47.23.249]:36644 "EHLO lelv0142.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726102AbfLFLmR (ORCPT ); Fri, 6 Dec 2019 06:42:17 -0500 Received: from fllv0034.itg.ti.com ([10.64.40.246]) by lelv0142.ext.ti.com (8.15.2/8.15.2) with ESMTP id xB6BgFIq054225; Fri, 6 Dec 2019 05:42:15 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1575632535; bh=oQQWI05cs5ZZbMyfIpjlE+7PWlwHVVzIAHXpj5+znlE=; h=From:To:CC:Subject:Date; b=Ri3f9kyDt18kPeUNNtPOqcToR1BxZwGAgaXjEeIdVPsH6eHCGUonqcAo7ZNOoxTMP +aC8DcK9nwzC4gakVZbuVNiXq6C3/zXQaz2k95fI3Oj6LAEvkmpObgs3kP6bb/0tHr ncDPnR4mSE42HVZIjIGgMjsaMS88XXlpeGy4Qklg= Received: from DLEE109.ent.ti.com (dlee109.ent.ti.com [157.170.170.41]) by fllv0034.itg.ti.com (8.15.2/8.15.2) with ESMTPS id xB6BgF6c008805 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 6 Dec 2019 05:42:15 -0600 Received: from DLEE101.ent.ti.com (157.170.170.31) by DLEE109.ent.ti.com (157.170.170.41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3; Fri, 6 Dec 2019 05:42:14 -0600 Received: from fllv0040.itg.ti.com (10.64.41.20) by DLEE101.ent.ti.com (157.170.170.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1847.3 via Frontend Transport; Fri, 6 Dec 2019 05:42:14 -0600 Received: from a0230074-OptiPlex-7010.india.ti.com (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0040.itg.ti.com (8.15.2/8.15.2) with ESMTP id xB6Bg6JA079926; Fri, 6 Dec 2019 05:42:11 -0600 From: Faiz Abbas To: , CC: , , Subject: [PATCH] mmc: sdhci: Update the tuning failed messages to pr_debug level Date: Fri, 6 Dec 2019 17:13:26 +0530 Message-ID: <20191206114326.15856-1-faiz_abbas@ti.com> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Tuning support in DDR50 speed mode was added in SD Specifications Part1 Physical Layer Specification v3.01. Its not possible to distinguish between v3.00 and v3.01 from the SCR and that is why since commit 4324f6de6d2e ("mmc: core: enable CMD19 tuning for DDR50 mode") tuning failures are ignored in DDR50 speed mode. Cards compatible with v3.00 don't respond to CMD19 in DDR50 and this error gets printed during enumeration and also if retune is triggered at any time during operation. Update the printk level to pr_debug so that these errors don't lead to false error reports. Signed-off-by: Faiz Abbas --- drivers/mmc/host/sdhci.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c index 296d955ede59..42a9c8179da7 100644 --- a/drivers/mmc/host/sdhci.c +++ b/drivers/mmc/host/sdhci.c @@ -2417,8 +2417,8 @@ static int __sdhci_execute_tuning(struct sdhci_host *host, u32 opcode) sdhci_send_tuning(host, opcode); if (!host->tuning_done) { - pr_info("%s: Tuning timeout, falling back to fixed sampling clock\n", - mmc_hostname(host->mmc)); + pr_debug("%s: Tuning timeout, falling back to fixed sampling clock\n", + mmc_hostname(host->mmc)); sdhci_abort_tuning(host, opcode); return -ETIMEDOUT; } -- 2.19.2