commit | aab0a39b281e9a26ae991f0737f2fa6f710d0dab | [log] [tgz] |
---|---|---|
author | Cyrille Pitchen <cyrille.pitchen@atmel.com> | Thu Dec 17 17:48:37 2015 +0100 |
committer | Herbert Xu <herbert@gondor.apana.org.au> | Wed Dec 23 18:19:50 2015 +0800 |
tree | e38c1b7e2b3bc43f39bae2d383d15454e8de3d55 | |
parent | 7f1cbbc5145fcd6f357cf8932e1d5410777f4d65 [diff] |
crypto: atmel-aes - propagate error from atmel_aes_hw_version_init() Before this patch atmel_aes_hw_version_init() had no returned value. However it calls atmel_aes_hw_init(), which may fail. So check the returned code of atmel_aes_hw_init() and propagate error if needed. Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>