crypto: atmel - Check for clk_prepare_enable() return value
authorLABBE Corentin <clabbe.montjoie@gmail.com>
Fri, 2 Oct 2015 12:12:58 +0000 (14:12 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 8 Oct 2015 13:42:21 +0000 (21:42 +0800)
commit9d83d299549d0e121245d56954242750d0c14338
tree62abe7e8947f5b24e20371dd34b0fb9ef970c308
parentc6415a6016bff0b547c13cadb1d5e50e9ace2be3
crypto: atmel - Check for clk_prepare_enable() return value

clk_prepare_enable() can fail so add a check for this and
return the error code if it fails.

Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/atmel-aes.c
drivers/crypto/atmel-sha.c
drivers/crypto/atmel-tdes.c