summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAymen Sghaier <aymen.sghaier@nxp.com>2018-06-19 11:29:00 +0200
committerJason Liu <jason.hui.liu@nxp.com>2019-02-12 10:32:48 +0800
commit121887cf7284f6a26e46e85c805cf3e0bf4d24de (patch)
treec6ff7ecd1361aba1afeb3f4d0f78fec16246795c
parent65495dc6680b24f198e0b9423d8d0c522d5bea58 (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>
-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 ae1846de0a2a..7ab379dfe448 100644
--- a/drivers/crypto/caam/inst_rng.c
+++ b/drivers/crypto/caam/inst_rng.c
@@ -156,8 +156,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);
}
@@ -204,8 +204,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);
}
}