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)
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

Simple merge