diff options
author | Victoria Milhoan <vicki.milhoan@freescale.com> | 2014-12-10 15:32:26 -0700 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2014-12-22 13:03:47 +0800 |
commit | d23585ec8e4753f943740c64ed9f781514b11dd1 (patch) | |
tree | fa74bd8b04e5ac2cd5739402edb5fcf179e3f55e | |
parent | c80fe7a8f7684f4b818ce4aabf015ccdf83a3d4e (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)
-rw-r--r-- | drivers/crypto/caam/caamalg.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/crypto/caam/caamalg.c b/drivers/crypto/caam/caamalg.c index 65cc87498f9e..456970f678c7 100644 --- a/drivers/crypto/caam/caamalg.c +++ b/drivers/crypto/caam/caamalg.c @@ -1,7 +1,7 @@ /* * caam - Freescale FSL CAAM support for crypto API * - * Copyright (C) 2008-2013 Freescale Semiconductor, Inc. + * Copyright (C) 2008-2014 Freescale Semiconductor, Inc. * * Based on talitos crypto API driver. * @@ -2381,8 +2381,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) && |