aboutsummaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2019-08-05 15:49:55 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2019-08-15 21:52:13 +1000
commitc9fbcf6815ce24c8da828c2a70cd6a16ce242a1b (patch)
tree300cc48e87ea57ea73505da4c706d8ec9321be77 /crypto
parentcrypto: hisilicon - fix error handle in hisi_zip_create_req_q (diff)
downloadlinux-dev-c9fbcf6815ce24c8da828c2a70cd6a16ce242a1b.tar.xz
linux-dev-c9fbcf6815ce24c8da828c2a70cd6a16ce242a1b.zip
crypto: caam/qi - execute library only on DPAA 1.x
In the process of turning caam/qi into a library, the check of MCFGR[QI] bit has been inadvertently dropped. Fix the condition for DPAA 1.x QI detection, which should be: MCFGR[QI] && !MCFGR[DPAA2] A check in the library exit point is currently not needed, since the list of registered algorithms is empty. While here, silence the library initialization abort - since jr.c calls it unconditionally. Fixes: 1b46c90c8e00 ("crypto: caam - convert top level drivers to libraries") Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions