linux/drivers/clk/socfpga
Yangtao Li b3486c723f clk: socfpga: fix refcount leak
commit 7f9705beeb upstream.

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>
[bwh: Backported to 3.16: drop changes in clk-pll-a10.c]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2019-07-09 22:03:40 +01:00
..
clk-gate.c clk: socfpga: add divider registers to the main pll outputs 2014-05-12 12:27:22 -05:00
clk-periph.c clk: socfpga: add divider registers to the main pll outputs 2014-05-12 12:27:22 -05:00
clk-pll.c clk: socfpga: fix refcount leak 2019-07-09 22:03:40 +01:00
clk.c clk: socfpga: fix clock driver for 3.15 2014-04-30 11:44:01 -07:00
clk.h clk: socfpga: add divider registers to the main pll outputs 2014-05-12 12:27:22 -05:00
Makefile clk: socfpga: split clk code 2014-02-18 14:08:13 -08:00