crypto: sahara - propagate the error on clk_disable_unprepare() failure
authorFabio Estevam <fabio.estevam@freescale.com>
Sat, 20 Jun 2015 18:30:22 +0000 (15:30 -0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sun, 21 Jun 2015 11:59:28 +0000 (19:59 +0800)
commit7eac7144dd1ef11c05a5f7605de6afa3770982e4
treed36679caf544022a47f67a7d243536f853579e14
parent425e0172a558a68cd44e3ea9d00936b928bc65f4
crypto: sahara - propagate the error on clk_disable_unprepare() failure

clk_prepare_enable() may fail, so we should better check its return value
and propagate it in the case of error.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/sahara.c