Commit 565018b8 authored by Gilad Ben-Yossef's avatar Gilad Ben-Yossef Committed by Herbert Xu

crypto: ccree - silence debug prints

The cache parameter register configuration was being too verbose.
Use dev_dbg() to only provide the information if needed.
Signed-off-by: default avatarGilad Ben-Yossef <gilad@benyossef.com>
Reviewed-by: default avatarSimon Horman <horms+renesas@verge.net.au>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 35f859fc
...@@ -168,14 +168,14 @@ int init_cc_regs(struct cc_drvdata *drvdata, bool is_probe) ...@@ -168,14 +168,14 @@ int init_cc_regs(struct cc_drvdata *drvdata, bool is_probe)
val = cc_ioread(drvdata, CC_REG(AXIM_CACHE_PARAMS)); val = cc_ioread(drvdata, CC_REG(AXIM_CACHE_PARAMS));
if (is_probe) 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); cc_iowrite(drvdata, CC_REG(AXIM_CACHE_PARAMS), cache_params);
val = cc_ioread(drvdata, CC_REG(AXIM_CACHE_PARAMS)); val = cc_ioread(drvdata, CC_REG(AXIM_CACHE_PARAMS));
if (is_probe) if (is_probe)
dev_info(dev, "Cache params current: 0x%08X (expect: 0x%08X)\n", dev_dbg(dev, "Cache params current: 0x%08X (expect: 0x%08X)\n",
val, cache_params); val, cache_params);
return 0; return 0;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment