projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
abfe7ae
)
crypto: atmel-sha - add sha information to the log
author
Nicolas Ferre
<nicolas.ferre@atmel.com>
Tue, 15 Oct 2013 14:37:44 +0000
(16:37 +0200)
committer
Nicolas Ferre
<nicolas.ferre@atmel.com>
Thu, 12 Dec 2013 17:39:36 +0000
(18:39 +0100)
Depending on peripheral capabilities, print SHA information at the end
of the probe function.
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-sha.c
patch
|
blob
|
history
diff --git
a/drivers/crypto/atmel-sha.c
b/drivers/crypto/atmel-sha.c
index
ecfdf72
..
0618be0
100644
(file)
--- a/
drivers/crypto/atmel-sha.c
+++ b/
drivers/crypto/atmel-sha.c
@@
-1469,7
+1469,9
@@
static int atmel_sha_probe(struct platform_device *pdev)
if (err)
goto err_algs;
- dev_info(dev, "Atmel SHA1/SHA256\n");
+ dev_info(dev, "Atmel SHA1/SHA256%s%s\n",
+ sha_dd->caps.has_sha224 ? "/SHA224" : "",
+ sha_dd->caps.has_sha_384_512 ? "/SHA384/SHA512" : "");
return 0;