diff options
author | Wei Yongjun <weiyongjun1@huawei.com> | 2016-09-15 03:27:32 +0000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-09-22 18:27:35 +0800 |
commit | c98ef8dbca18db133bb4bc7643b975ee2612be2f (patch) | |
tree | 46ff4fa7a6c2337027d5b8b2230a928acb1b0597 /drivers/rtc/rtc-ab-b5ze-s3.c | |
parent | 59af156625ab1d11436b04806ee3c1c795b29a93 (diff) | |
download | talos-obmc-linux-c98ef8dbca18db133bb4bc7643b975ee2612be2f.tar.gz talos-obmc-linux-c98ef8dbca18db133bb4bc7643b975ee2612be2f.zip |
crypto: omap-aes - fix error return code in omap_aes_probe()
Fix to return error code -ENOMEM from the crypto_engine_alloc_init()
error handling case instead of 0, as done elsewhere in this function.
Fixes: 0529900a01cb ("crypto: omap-aes - Support crypto engine framework")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/rtc/rtc-ab-b5ze-s3.c')
0 files changed, 0 insertions, 0 deletions