]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
soc: imx: soc-imx8: Correct return value of error handle
authorAnson Huang <Anson.Huang@nxp.com>
Fri, 24 May 2019 05:51:01 +0000 (13:51 +0800)
committerShawn Guo <shawnguo@kernel.org>
Wed, 5 Jun 2019 06:09:24 +0000 (14:09 +0800)
commit4c396a604a57da8f883a8b3368d83181680d6907
treeeb43d32adfcc342d6f974af60277bc071e080b0a
parentd8dfab0f4d0669ae299511e3ab3e79f312476f75
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>
drivers/soc/imx/soc-imx8.c