diff options
author | Alex Porosanu <alexandru.porosanu@freescale.com> | 2013-09-09 18:56:29 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2013-09-13 21:43:54 +1000 |
commit | b2744dfd39c51e6fd56e79ff2eabf9953d45027e (patch) | |
tree | 74176b26f6c819672946910cbf98d1c71e199496 /kernel/mutex.h | |
parent | d5e4e999cda51eaa62e662088579fcce0ac79e92 (diff) | |
download | op-kernel-dev-b2744dfd39c51e6fd56e79ff2eabf9953d45027e.zip op-kernel-dev-b2744dfd39c51e6fd56e79ff2eabf9953d45027e.tar.gz |
crypto: caam - fix hash, alg and rng registration if CAAM driver not initialized
If the CAAM driver initialization failed (due to various reasons, e.g. RNG4
initialization failed), then the registration of hash/algorithms/rng shouldn't
take place. This patch adds the necessary code to prevent this registration.
Signed-off-by: Alex Porosanu <alexandru.porosanu@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'kernel/mutex.h')
0 files changed, 0 insertions, 0 deletions