Files
linux/drivers/crypto/caam
Iuliana Prodan 6ff378ed8b crypto: caam - free resources in case caam_rng registration failed
[ Upstream commit c59a1d4167 ]

Check the return value of the hardware registration for caam_rng and free
resources in case of failure.

Fixes: e24f7c9e87 ("crypto: caam - hwrng support")
Signed-off-by: Iuliana Prodan <iuliana.prodan@nxp.com>
Reviewed-by: Horia Geanta <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-05-15 16:46:12 +09:00
..
2017-07-21 07:42:23 +02:00