]> git.baikalelectronics.ru Git - kernel.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)
commitbe85e3bf0a5aec19b67a88350975d531c1883234
tree3ff5b02ef0fb2afbc683aa43ce69775109e60ff7
parentdcf7054d9267cc302e8368cebcb5698f767261e1
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