]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
crypto: caam - Fix the error handling in caam_probe
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 21 Aug 2015 16:51:58 +0000 (13:51 -0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 24 Aug 2015 14:07:39 +0000 (22:07 +0800)
commit31f44d150791c3fe923399a1159320acc4a9b3b4
tree3ff5b02ef0fb2afbc683aa43ce69775109e60ff7
parent9f587fa29f7e8ed6b8885cff51a51ace3ad85152
crypto: caam - Fix the error handling in caam_probe

In the error path we should disable the resources that were previously
acquired, so fix the error handling accordingly.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Reviewed-by: Horia Geant? <horia.geanta@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/caam/ctrl.c