Home
last modified time | relevance | path

Searched hist:"8 c6239f6" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/clk/ti/
H A Dfapll.c8c6239f6 Fri Nov 13 07:16:23 CST 2020 Zhang Qilong <zhangqilong3@huawei.com> clk: ti: Fix memleak in ti_fapll_synth_setup

If clk_register fails, we should goto free branch
before function returns to prevent memleak.

Fixes: 163152cbbe321 ("clk: ti: Add support for FAPLL on dm816x")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com>
Link: https://lore.kernel.org/r/20201113131623.2098222-1-zhangqilong3@huawei.com
Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>