OpenCloudOS-Kernel/drivers/soc/imx
Miaoqian Lin 490748874e soc: imx8m: Fix incorrect check for of_clk_get_by_name()
of_clk_get_by_name() returns error pointers instead of NULL.
Use IS_ERR() checks the return value to catch errors.

Fixes: 836fb30949 ("soc: imx8m: Enable OCOTP clock before reading the register")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
2023-01-02 21:16:05 +08:00
..
Kconfig soc: imx: add i.MX93 SRC power domain driver 2022-09-17 16:31:06 +08:00
Makefile soc: imx: add i.MX93 media blk ctrl driver 2022-09-17 16:31:06 +08:00
gpc.c soc: imx: gpc: fix power up sequencing 2020-03-16 11:39:02 +08:00
gpcv2.c soc: imx: gpcv2: add GENPD_FLAG_ACTIVE_WAKEUP flag for usb of imx8mm/n 2022-10-29 16:20:49 +08:00
imx8m-blk-ctrl.c soc: imx: imx8m-blk-ctrl: Defer probe if 'bus' genpd is not yet ready 2022-10-23 17:23:21 +08:00
imx8mp-blk-ctrl.c soc: imx: imx8mp-blk-ctrl: don't set power device name 2023-01-01 11:14:12 +08:00
imx93-blk-ctrl.c soc: imx: add i.MX93 media blk ctrl driver 2022-09-17 16:31:06 +08:00
imx93-pd.c soc: imx: imx93-pd: Fix the error handling path of imx93_pd_probe() 2022-10-29 16:26:32 +08:00
imx93-src.c soc: imx: add i.MX93 SRC power domain driver 2022-09-17 16:31:06 +08:00
soc-imx.c soc: imx: Remove Layerscape check 2022-01-28 17:46:08 +08:00
soc-imx8m.c soc: imx8m: Fix incorrect check for of_clk_get_by_name() 2023-01-02 21:16:05 +08:00