Files
linux/drivers/clk/socfpga
Yangtao Li 9b416f3d23 clk: socfpga: fix refcount leak
[ Upstream commit 7f9705beeb ]

The of_find_compatible_node() returns a node pointer with refcount
incremented, but there is the lack of use of the of_node_put() when
done. Add the missing of_node_put() to release the refcount.

Signed-off-by: Yangtao Li <tiny.windzz@gmail.com>
Fixes: 5343325ff3 ("clk: socfpga: add a clock driver for the Arria 10 platform")
Fixes: a30d27ed73 ("clk: socfpga: fix clock driver for 3.15")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-29 10:24:07 +01:00
..
2015-07-28 11:59:16 -07:00
2020-01-29 10:24:07 +01:00
2020-01-29 10:24:07 +01:00