crypto/dpaa_sec: improve error handling
authorAkhil Goyal <akhil.goyal@nxp.com>
Sat, 9 May 2020 22:22:59 +0000 (03:52 +0530)
committerAkhil Goyal <akhil.goyal@nxp.com>
Mon, 11 May 2020 11:17:43 +0000 (13:17 +0200)
commitc08ced9a9a4a5f291f5f4d92f9a106f993b93737
treeeef8c1b00c1193b7d1a65c589dad1ddc9bce9d04
parent94ae7667f723d743b42c1dddb7b9673c8986e285
crypto/dpaa_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/dpaa_sec/dpaa_sec.c