| commit | c98ef8dbca18db133bb4bc7643b975ee2612be2f | [log] [tgz] |
|---|---|---|
| author | Wei Yongjun <weiyongjun1@huawei.com> | Thu Sep 15 03:27:32 2016 +0000 |
| committer | Herbert Xu <herbert@gondor.apana.org.au> | Thu Sep 22 18:27:35 2016 +0800 |
| tree | 46ff4fa7a6c2337027d5b8b2230a928acb1b0597 | |
| parent | 59af156625ab1d11436b04806ee3c1c795b29a93 [diff] |
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>