crypto/dpaa2_sec: improve error handling
authorAkhil Goyal <akhil.goyal@nxp.com>
Sat, 9 May 2020 22:22:58 +0000 (03:52 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Mon, 11 May 2020 11:17:43 +0000 (13:17 +0200)
commit94ae7667f723d743b42c1dddb7b9673c8986e285
treea2b6d45f8595bfa9f9b96140506741983fbf3c65
parent439d222ba01893cdbe92dd362456bfb6398a986f
crypto/dpaa2_sec: improve error handling

The return values in cases of errors were not
specified properly. With this patch appropriate
error numbers are returned.

Signed-off-by: Akhil Goyal <akhil.goyal@nxp.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c