diff options
author | Iuliana Prodan <iuliana.prodan@nxp.com> | 2019-07-31 16:08:15 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-08-09 08:11:52 +0300 |
commit | 0435d47e2627b76b6dfb59e2e95ffed7232bd0ed (patch) | |
tree | 298705b68ef2669a9b1d43272f1d404791c093ef /crypto/crypto_engine.c | |
parent | 58068cfc810c3b5cc8c25b0fab73c02625aeadf1 (diff) | |
download | linux-0435d47e2627b76b6dfb59e2e95ffed7232bd0ed.tar.xz |
crypto: caam - change return value in case CAAM has no MDHA
To be consistent with other CAAM modules, caamhash should return 0
instead of -ENODEV in case CAAM has no MDHA.
Based on commit 1b46c90c8e00 ("crypto: caam - convert top level drivers to libraries")
the value returned by entry point is never checked and
the exit point is always executed.
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Horia Geanta <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/crypto_engine.c')
0 files changed, 0 insertions, 0 deletions