diff options
author | Victoria Milhoan <vicki.milhoan@freescale.com> | 2014-12-10 15:32:26 -0700 |
---|---|---|
committer | Nitin Garg <nitin.garg@nxp.com> | 2016-01-20 14:28:48 -0600 |
commit | 522496d70e18eaaf4e19b481900a80296e910871 (patch) | |
tree | 59eac1681c69d4be615678225d41b4edb7dd603f /drivers/crypto/caam | |
parent | a8e453c0bcdfe2f4bfe558dc251273e97b71b6be (diff) |
MLK-9980 Modify CAAM driver to hide algorithm registered notifications
The CAAM driver prints a message for each algorithm it registers
with the Crypto API. This patch hides the messages unless debug is
enabled.
Signed-off-by: Victoria Milhoan <vicki.milhoan@freescale.com>
(cherry picked from commit 84fcc913c4017d7c60ad19d07f277165b10e7848)
Signed-off-by: Dan Douglass <dan.douglass@freescale.com>
Diffstat (limited to 'drivers/crypto/caam')
-rw-r--r-- | drivers/crypto/caam/caamalg.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/crypto/caam/caamalg.c b/drivers/crypto/caam/caamalg.c index ccb926fb6a7c..dcc2c72058d4 100644 --- a/drivers/crypto/caam/caamalg.c +++ b/drivers/crypto/caam/caamalg.c @@ -4434,8 +4434,10 @@ authencesn: kfree(t_alg); } else { list_add_tail(&t_alg->entry, &alg_list); +#ifdef DEBUG dev_info(ctrldev, "%s\n", t_alg->crypto_alg.cra_driver_name); +#endif if (driver_algs[i].type == CRYPTO_ALG_TYPE_AEAD && !memcmp(driver_algs[i].name, "authenc", 7) && |