crypto: caam - Propagate the real error code in caam_probe
authorFabio Estevam <fabio.estevam@freescale.com>
Fri, 21 Aug 2015 16:51:59 +0000 (13:51 -0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 24 Aug 2015 14:07:41 +0000 (22:07 +0800)
commita3c09550f0cbd9965e44a2dc62c85ff5db91f8ff
treeb4716c3c81a115f9caea36d9d95b7ce8f555703e
parent31f44d150791c3fe923399a1159320acc4a9b3b4
crypto: caam - Propagate the real error code in caam_probe

Instead of propagating a 'fake' error code, just propagate the real
one in the case of caam_drv_identify_clk() failure.

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