android_kernel_xiaomi_sm8450/drivers/clk/keystone
Minjie Du c1ff788f73 drivers: clk: keystone: Fix parameter judgment in _of_pll_clk_init()
[ Upstream commit a995c50db887ef97f3160775aef7d772635a6f6e ]

The function clk_register_pll() may return NULL or an ERR_PTR. Don't
treat an ERR_PTR as valid.

Signed-off-by: Minjie Du <duminjie@vivo.com>
Link: https://lore.kernel.org/r/20230712102246.10348-1-duminjie@vivo.com
Fixes: b9e0d40c0d ("clk: keystone: add Keystone PLL clock driver")
[sboyd@kernel.org: Reword commit text]
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2023-09-19 12:20:13 +02:00
..
gate.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile clk: keystone: Add new driver to handle syscon based clocks 2020-03-20 17:07:21 -07:00
pll.c drivers: clk: keystone: Fix parameter judgment in _of_pll_clk_init() 2023-09-19 12:20:13 +02:00
sci-clk.c clk: keystone: sci-clk: check return value of kasprintf() 2023-07-27 08:43:55 +02:00
syscon-clk.c Replace HTTP links with HTTPS ones: Common CLK framework 2020-07-10 17:15:34 -07:00