From patchwork Thu May 24 14:19:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gilad Ben-Yossef X-Patchwork-Id: 136748 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp2272155lji; Thu, 24 May 2018 07:19:49 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqJf0XN6Y4ZaaxmBS5UqlXaXKDmWBlECJjNZRjvnoIx4YYcS9SQsjTxELHnzxFOQvVI8k2c X-Received: by 2002:a17:902:848b:: with SMTP id c11-v6mr7622807plo.132.1527171589246; Thu, 24 May 2018 07:19:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527171589; cv=none; d=google.com; s=arc-20160816; b=B7J6F1H5BwRSfN4OcWDPtNxhp87p5JGBBIgywfTnn0aLaRVgHMDurjxS1OjotFZagv VVYfjYWlITF5vonFqdVb78tNZhnidx8gr/GA1QErpcU9lfqjL/JxDG/R5wl7acOrrjCK csm7zKueU2dROONBBxvlQegJao7wGMNqO44mTjehNKwIIgpDaguAVfibQQliPIQ1urJA O7bCSxXKc9UXWSU+eEEpWA8ex3p/SpRiJyon8AQKvAujZZO3MlIFtVLuUd52Q537THfl FuwY7ZKUrrgC/el2qNC4eNgCpDo9o/Dflq4exNDGvgjANd0gwVCtZVZXkr9GWJyW2qq9 yvNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=GseoGocuqu9uFS8OIEf0/8IbKLWuLgE3McCfvH+WyYw=; b=RKH+HCNsi4orThMHarc+U53m0AGMwjBt1aJEzi+TkZa15SiRtRqlLBMms//qFXdbxP FdYzBhm6rqek+3QG1NqhSVoeWZHGiI22MpVohT0hPe8vc/5ZGGviFd4RoM7663TD8Spr JOoyql8UQmt6eFecadp7RJIv86PdXUVDdl3xQMB0JiNCSTq7fBo7R5M7PCliYP8/OBY8 C/hcv+V9j4Xc0KIC1f1utFiMZK/pLVr/x8onb0P0jYWBXxbE3VYieRif9jRrAFh/WKT0 Ic/eChBqF1MclAROpZeWYVFOsZ7qAbpznK39hl0RdPcE7XyRKon/Zsi99Y0l621Q/6vi fbsQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y7-v6si16741808pgv.409.2018.05.24.07.19.48; Thu, 24 May 2018 07:19:49 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1032253AbeEXOTp (ORCPT + 30 others); Thu, 24 May 2018 10:19:45 -0400 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:45648 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1032054AbeEXOTj (ORCPT ); Thu, 24 May 2018 10:19:39 -0400 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id B78151688; Thu, 24 May 2018 07:19:38 -0700 (PDT) Received: from sugar.kfn.arm.com (unknown [10.45.48.133]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 97A483F24A; Thu, 24 May 2018 07:19:34 -0700 (PDT) From: Gilad Ben-Yossef To: Simon Horman , Magnus Damm , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , Geert Uytterhoeven , Michael Turquette , Stephen Boyd , Herbert Xu , "David S. Miller" Cc: Ofir Drang , linux-renesas-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-clk@vger.kernel.org, linux-crypto@vger.kernel.org Subject: [PATCH v2 3/5] crypto: ccree: silence debug prints Date: Thu, 24 May 2018 15:19:08 +0100 Message-Id: <1527171551-21979-4-git-send-email-gilad@benyossef.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1527171551-21979-1-git-send-email-gilad@benyossef.com> References: <1527171551-21979-1-git-send-email-gilad@benyossef.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The cache parameter register configuration was being too verbose. Use dev_dbg() to only provide the information if needed. Signed-off-by: Gilad Ben-Yossef --- drivers/crypto/ccree/cc_driver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.7.4 Reviewed-by: Simon Horman diff --git a/drivers/crypto/ccree/cc_driver.c b/drivers/crypto/ccree/cc_driver.c index b266657..1e40e76 100644 --- a/drivers/crypto/ccree/cc_driver.c +++ b/drivers/crypto/ccree/cc_driver.c @@ -168,14 +168,14 @@ int init_cc_regs(struct cc_drvdata *drvdata, bool is_probe) val = cc_ioread(drvdata, CC_REG(AXIM_CACHE_PARAMS)); if (is_probe) - dev_info(dev, "Cache params previous: 0x%08X\n", val); + dev_dbg(dev, "Cache params previous: 0x%08X\n", val); cc_iowrite(drvdata, CC_REG(AXIM_CACHE_PARAMS), cache_params); val = cc_ioread(drvdata, CC_REG(AXIM_CACHE_PARAMS)); if (is_probe) - dev_info(dev, "Cache params current: 0x%08X (expect: 0x%08X)\n", - val, cache_params); + dev_dbg(dev, "Cache params current: 0x%08X (expect: 0x%08X)\n", + val, cache_params); return 0; }