]> 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)
commit4d8348d8e3bfc3e37f3cbaaff3966a1fca8909ed
treef625f568d03d2171b635f6cc6b93ec3f96c7be9a
parentb3b5fce7364b674b66c58adea1dd2a2f85b61dd7
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