]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: caam - fix JR IO mapping if one fails
authorTudor Ambarus <tudor-dan.ambarus@nxp.com>
Fri, 10 Feb 2017 12:07:16 +0000 (14:07 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 15 Feb 2017 05:23:38 +0000 (13:23 +0800)
commit4fd9c31f0330720ec7859e24c6b39d057c29702d
treef625f568d03d2171b635f6cc6b93ec3f96c7be9a
parent658d7f05fab6bb42bb86a4a348c678a15de54dc5
crypto: caam - fix JR IO mapping if one fails

If one of the JRs failed at init, the next JR used
the failed JR's IO space. The patch fixes this bug.

Signed-off-by: Tudor Ambarus <tudor-dan.ambarus@nxp.com>
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/ctrl.c