diff options
author | Anson Huang <Anson.Huang@nxp.com> | 2019-05-24 13:51:01 +0800 |
---|---|---|
committer | Shawn Guo <shawnguo@kernel.org> | 2019-06-05 14:09:24 +0800 |
commit | 4c396a604a57da8f883a8b3368d83181680d6907 (patch) | |
tree | eb43d32adfcc342d6f974af60277bc071e080b0a /lib/mpi/generic_mpih-rshift.c | |
parent | d8dfab0f4d0669ae299511e3ab3e79f312476f75 (diff) |
soc: imx: soc-imx8: Correct return value of error handle
Current implementation of i.MX8 SoC driver returns -ENODEV
for all cases of error during initialization, this is incorrect.
This patch fixes them using correct return value according
to different errors.
Signed-off-by: Anson Huang <Anson.Huang@nxp.com>
Reviewed-by: Leonard Crestez <leonard.crestez@nxp.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'lib/mpi/generic_mpih-rshift.c')
0 files changed, 0 insertions, 0 deletions