OSDN Git Service

crypto: ccree - silence debug prints
authorGilad Ben-Yossef <gilad@benyossef.com>
Thu, 24 May 2018 14:19:08 +0000 (15:19 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 30 May 2018 16:13:50 +0000 (00:13 +0800)
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 <gilad@benyossef.com>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccree/cc_driver.c

index 892d412..bd974fe 100644 (file)
@@ -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;
 }