diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-09-04 05:35:07 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-09-09 16:48:22 +0300 |
commit | f2ef960231d77b72685f81f92b49bfaa22f9973e (patch) | |
tree | 14cf4a360c7f6b5831c39b74fc2ec8aa49e248da /drivers/crypto/caam/intern.h | |
parent | 549077d7d86a1a2b8db4d131b260db9c9e206b66 (diff) | |
download | linux-f2ef960231d77b72685f81f92b49bfaa22f9973e.tar.xz |
crypto: caam - dispose of IRQ mapping only after IRQ is freed
With IRQ requesting being managed by devres we need to make sure that
we dispose of IRQ mapping after and not before it is free'd (otherwise
we'll end up with a warning from the kernel). To achieve that simply
convert IRQ mapping to rely on devres as well.
Fixes: f314f12db65c ("crypto: caam - convert caam_jr_init() to use devres")
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Chris Healy <cphealy@gmail.com>
Cc: Lucas Stach <l.stach@pengutronix.de>
Cc: Horia Geantă <horia.geanta@nxp.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: Iuliana Prodan <iuliana.prodan@nxp.com>
Cc: linux-crypto@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Reviewed-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam/intern.h')
0 files changed, 0 insertions, 0 deletions