summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam/regs.h
diff options
context:
space:
mode:
authorAlex Porosanu <alexandru.porosanu@freescale.com>2013-09-09 15:56:29 (GMT)
committerScott Wood <scottwood@freescale.com>2014-04-08 00:20:50 (GMT)
commitdf5a236093cee2aa1a27baeed7b7d5ff35f69c26 (patch)
tree9e2cbc80c3edc802ac716cef11a98d54aeaa847b /drivers/crypto/caam/regs.h
parentabb7b78abbf07ccd8c186969c35c2f916aa89146 (diff)
downloadlinux-fsl-qoriq-df5a236093cee2aa1a27baeed7b7d5ff35f69c26.tar.xz
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> (cherry picked from commit b2744dfd39c51e6fd56e79ff2eabf9953d45027e)
Diffstat (limited to 'drivers/crypto/caam/regs.h')
0 files changed, 0 insertions, 0 deletions