From f4ea3da0680cf6ef5a3271261018ac6487579f4c Mon Sep 17 00:00:00 2001 From: Aymen Sghaier Date: Tue, 19 Jun 2018 11:29:00 +0200 Subject: 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 --- drivers/crypto/caam/inst_rng.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'drivers/crypto/caam') 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); } } -- cgit v1.2.3