clk: ti: Fix missing of_node_get() ti_find_clock_provider()
authorTony Lindgren <tony@atomide.com>
Tue, 21 Jun 2022 09:11:18 +0000 (12:11 +0300)
committerStephen Boyd <sboyd@kernel.org>
Fri, 19 Aug 2022 21:21:55 +0000 (14:21 -0700)
commit26f2da0d2f823dc7180b0505d46318f64d1e0a7a
tree26d3cfd19827182a04ce316d428b9a8faa2b3401
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868
clk: ti: Fix missing of_node_get() ti_find_clock_provider()

For ti_find_clock_provider() we want to return the np with refcount
incremented. However we are missing of_node_get() for the
clock-output-names case that causes refcount warnings.

Fixes: 51f661ef9a10 ("clk: ti: Add ti_find_clock_provider() to use clock-output-names")
Signed-off-by: Tony Lindgren <tony@atomide.com>
Link: https://lore.kernel.org/r/20220621091118.33930-1-tony@atomide.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/ti/clk.c