summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam
diff options
context:
space:
mode:
authorAymen Sghaier <aymen.sghaier@nxp.com>2018-06-19 11:29:00 +0200
committerLeonard Crestez <leonard.crestez@nxp.com>2018-08-24 12:41:33 +0300
commitf4ea3da0680cf6ef5a3271261018ac6487579f4c (patch)
tree45610acdd746fc2be997ee509d4e177807ceed1d /drivers/crypto/caam
parentf9d2a9dae170e1cc0448c0ce9622a2b5a7caf4e9 (diff)
MLK-17227: crypto: caam: Update CAAM driver verbosity while RNG init
Move to debug level rather than error level the RNG init traces while increasing entropy delays. Signed-off-by: Aymen Sghaier <aymen.sghaier@nxp.com>
Diffstat (limited to 'drivers/crypto/caam')
-rw-r--r--drivers/crypto/caam/inst_rng.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/crypto/caam/inst_rng.c b/drivers/crypto/caam/inst_rng.c
index 64c382604cc8..e30dafb142b1 100644
--- a/drivers/crypto/caam/inst_rng.c
+++ b/drivers/crypto/caam/inst_rng.c
@@ -155,8 +155,8 @@ static int instantiate_rng(int state_handle_mask, int gen_sk)
/* Try to run it through JR */
ret = run_descriptor_jr(desc, sh_idx);
if (ret)
- pr_err("Failed to run desc RNG4 SH%d status (0x%x)\n",
- sh_idx, ret);
+ pr_debug("Failed to run desc RNG4 SH%d status (0x%x)\n",
+ sh_idx, ret);
/* Clear the contents before recreating the descriptor */
memset(desc, 0x00, CAAM_CMD_SZ * 7);
}
@@ -203,8 +203,8 @@ int deinstantiate_rng(int state_handle_mask)
/* Try to run it through JR */
ret = run_descriptor_jr(desc, sh_idx);
if (ret)
- pr_err("Failed to run desc to deinstantiate RNG4 SH%d\n",
- sh_idx);
+ pr_debug("Failed to run desc to deinstantiate RNG4 SH%d\n",
+ sh_idx);
}
}