From patchwork Fri Mar 11 10:33:20 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Bailon X-Patchwork-Id: 12777788 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EDEC9C4167D for ; Fri, 11 Mar 2022 10:34:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :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=MaKstrL2IL5ghah97ufgrMaNz16LlpLaf0WlRXzHu+c=; b=yZQxl7kn75+qvq W8+S0oxLvQ6y6ndiG27/kPN04ptDcb2VCXtG8GCer3dmz/Cj8KGtKQ4rsmnuQ2VjOo9wplEoy5YzD Bc1A/9DvSvI7ASRzyDqUYRJod4/QzZwS1u4ukYbXoqzrEd4M68x0dkYOu92mCnkDBm0M1WmZCY4Hd YTnw9wrlvgqZ/yUQQiz6bW7zv19pfUhg2bxy0gYJ440AeHdUk4Mr4rYQVLe28bqodci2mLGzQ3Ltq C8QZQgn8ynzpsVSeTEBAkUK5FfRIMIEkwFMbawjkzDeDgnZx6S6WP6p4yKrHqrYaFyF0XrpTbO3d3 YxwRrw9FUgQhjH4pfdBQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nScaX-00G11T-1S; Fri, 11 Mar 2022 10:33:37 +0000 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nScaS-00G0zl-Df for linux-arm-kernel@lists.infradead.org; Fri, 11 Mar 2022 10:33:34 +0000 Received: by mail-wm1-x332.google.com with SMTP id m42-20020a05600c3b2a00b00382ab337e14so7178835wms.3 for ; Fri, 11 Mar 2022 02:33:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20210112.gappssmtp.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tHzWauNR3dX3JRCdUQ2Wh7sQFhVa1g70Y/fsse/k3yk=; b=OgmwPVe3iTZnA/fxf5BvpufbW18UFWKBkE6DauL5sDY3H5EGsXZuQnYiUcls3Xp/Yb ngodX1pS/phKVnyzuXFIoy84AfunMsefM49Ss1BSHYZl6/FrupaTRIDnlfY0f8IBKgXd 7Sb27GyhcyaZiEt0ybiWuBKbtISdNMGVC5OqP/hs6OCZ0k6uAggfx7ulG284ELodkOSO b9BmifiA+AEWhfDJsB+JV8hPlwMmAQCKiHeN5IdCpB9fFof9PgSNmRPrZHLq2qijnyLW kIzOHxQUZjxBbpRfgPQRVk0EUp+1ki1OYhihN8GHetTjVQ0uIC4DknrszIyxGchHGiaL VVRQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=tHzWauNR3dX3JRCdUQ2Wh7sQFhVa1g70Y/fsse/k3yk=; b=Se2hEAoCVPhh4/BwcsqjzJeLrCHi+kTex98v+RRP+fPi3rzua0FjuGptH2yS8L8Fer d22T6o2/euJWehCR+ulmRlNiQ/sUS3fsSkd8/YNQISVpFVRQ3Vbiwgstu2qUXsO0y7Yw fbZizBG5CvQrPJdFKYYA/PLIo3lKpMwEdMFeAHw4yFJfjNDJXDpsYhggFsIOHBVC7IoZ cwTWFiWgcHRmVWEt+a3IznF7dd9ba0T2e7DTCzfY9WyFNPvU2annPA/NaE0zfsABgjGK 0til7EKLu2ClrcwheUmWnhSLwVtBi8ZmNm/imwxE03mhmR7sUED3E+7tzOyhKJ2lDG7H MaIQ== X-Gm-Message-State: AOAM533JQEPmYHmIGzW23StiJgeapUs1IfhwSW+i2ehZmAib0TqnN1GK F9v1NW5hDea0J2F/F9iDh6TqXg== X-Google-Smtp-Source: ABdhPJwR2NyG/o0epriqRgWZiafPO4iha8N9ZD/x+FYDnBCO3aAzDwH1hjTV0yNCeh6rbGezo3zDgQ== X-Received: by 2002:a05:600c:4615:b0:386:9f67:8c63 with SMTP id m21-20020a05600c461500b003869f678c63mr15020537wmo.12.1646994809922; Fri, 11 Mar 2022 02:33:29 -0800 (PST) Received: from xps-9300.baylibre (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id e10-20020a056000178a00b0020393321552sm2264138wrg.85.2022.03.11.02.33.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Mar 2022 02:33:29 -0800 (PST) From: Alexandre Bailon To: chaotian.jing@mediatek.com, ulf.hansson@linaro.org, matthias.bgg@gmail.com Cc: linux-mmc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org, Alexandre Bailon , AngeloGioacchino Del Regno Subject: [PATCH v2] mmc: mtk-sd: Silence delay phase calculation debug log Date: Fri, 11 Mar 2022 11:33:20 +0100 Message-Id: <20220311103320.3072171-1-abailon@baylibre.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220311_023332_552520_8D2E185E X-CRM114-Status: GOOD ( 10.96 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The driver prints the following log everytime data is written to RPMB: mtk-msdc 11230000.mmc: phase: [map:ffffffff] [maxlen:32] [final:10] dev_info is used to print that log but it seems that log is only useful for debbuging. Use dev_dbg instead of dev_info. Signed-off-by: Alexandre Bailon Reviewed-by: AngeloGioacchino Del Regno --- drivers/mmc/host/mtk-sd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c index d5a9c269d492..05c8b4de46f3 100644 --- a/drivers/mmc/host/mtk-sd.c +++ b/drivers/mmc/host/mtk-sd.c @@ -1914,8 +1914,8 @@ static struct msdc_delay_phase get_best_delay(struct msdc_host *host, u32 delay) final_phase = (start_final + len_final / 3) % PAD_DELAY_MAX; else final_phase = (start_final + len_final / 2) % PAD_DELAY_MAX; - dev_info(host->dev, "phase: [map:%x] [maxlen:%d] [final:%d]\n", - delay, len_final, final_phase); + dev_dbg(host->dev, "phase: [map:%x] [maxlen:%d] [final:%d]\n", + delay, len_final, final_phase); delay_phase.maxlen = len_final; delay_phase.start = start_final;