summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel
diff options
context:
space:
mode:
authorAnson Huang2019-05-24 07:51:01 +0200
committerShawn Guo2019-06-05 08:09:24 +0200
commit4c396a604a57da8f883a8b3368d83181680d6907 (patch)
treeeb43d32adfcc342d6f974af60277bc071e080b0a /arch/mips/kernel
parentsoc: imx: soc-imx8: Avoid unnecessary of_node_put() in error handling (diff)
downloadkernel-qcow2-linux-4c396a604a57da8f883a8b3368d83181680d6907.tar.gz
kernel-qcow2-linux-4c396a604a57da8f883a8b3368d83181680d6907.tar.xz
kernel-qcow2-linux-4c396a604a57da8f883a8b3368d83181680d6907.zip
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 'arch/mips/kernel')
0 files changed, 0 insertions, 0 deletions