summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-cdce925.c
diff options
context:
space:
mode:
authorMinjie Du <duminjie@vivo.com>2023-07-12 13:22:46 +0300
committerStephen Boyd <sboyd@kernel.org>2023-07-20 00:40:06 +0300
commita995c50db887ef97f3160775aef7d772635a6f6e (patch)
treefc28186120749d8b76f9e5298e13018cb0dfb9fe /drivers/clk/clk-cdce925.c
parenta96cbb146a9736f501fe66ebda6a9018735e5e8a (diff)
downloadlinux-a995c50db887ef97f3160775aef7d772635a6f6e.tar.xz
drivers: clk: keystone: Fix parameter judgment in _of_pll_clk_init()
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: b9e0d40c0d83 ("clk: keystone: add Keystone PLL clock driver") [sboyd@kernel.org: Reword commit text] Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/clk-cdce925.c')
0 files changed, 0 insertions, 0 deletions