linux/drivers/clk
Yangtao Li 2adf06a6e4 clk: dove: fix refcount leak in dove_clk_init()
commit 8d726c5128 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>
Reviewed-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Fixes: 8f7fc5450b ("clk: mvebu: dove: maintain clock init order")
Fixes: 63b8d92c79 ("clk: add Dove PLL divider support for GPU, VMeta and AXI clocks")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
[bwh: Backported to 3.16: There is no ddnp variable here]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
History 2019-07-09 22:03:42 +01:00
..
at91 clk: at91: usb: fix at91sam9x5 recalc, round and set rate 2015-05-06 10:24:17 +01:00
bcm clk: bcm/kona: implement determine_rate() 2014-05-27 17:34:32 -07:00
berlin clk: berlin: bg2q: remove non-exist "smemc" gate clock 2015-01-22 16:33:30 +00:00
hisilicon clk: hisilicon: fix lock assignment 2017-06-05 21:16:59 +01:00
keystone clk: keystone: gate: fix clk_init_data initialization 2014-02-10 15:17:43 -05:00
mmp clk: mmp: try to use closer one when do round rate 2014-03-26 20:59:27 -07:00
mvebu clk: dove: fix refcount leak in dove_clk_init() 2019-07-09 22:03:42 +01:00
mxs ARM: mxs: remove custom .init_time hook 2013-09-29 21:09:34 +02:00
qcom clk: qcom: Base rcg parent rate off plan frequency 2018-11-20 18:04:52 +00:00
rockchip clk: rockchip: fix function type for CLK_OF_DECLARE 2014-05-20 14:25:22 -05:00
samsung clk: samsung: exynos4: fix refcount leak in exynos4_get_xom() 2019-07-09 22:03:40 +01:00
shmobile clk: renesas: mstp: ensure register writes complete 2017-06-05 21:17:10 +01:00
sirf clk: sirf: update copyright years to 2014 2014-03-26 21:47:35 -07:00
socfpga clk: socfpga: fix refcount leak 2019-07-09 22:03:40 +01:00
spear clk: spear3xx: Set proper clock parent of uart1/2 2014-07-13 07:12:11 -07:00
st clk: st: avoid uninitialized variable use 2016-02-02 19:27:05 +00:00
sunxi sunxi: clk: Set sun6i-pll1 n_start = 1 2015-03-03 14:31:19 +00:00
tegra clk: tegra: Fix cclk_lp divisor register 2018-02-13 18:42:13 +00:00
ti clk: ti: dra7-atl-clock: fix child-node lookups 2018-02-13 18:42:22 +00:00
ux500 clk: ux500: Staticize ux500_twocell_get 2014-02-23 15:04:40 -08:00
versatile clk: versatile: sp810: support reentrance 2016-05-01 00:05:51 +02:00
x86 ACPI / LPSS: add support for Intel BayTrail 2013-06-19 01:08:47 +02:00
zynq clk: zynq: Force CPU_2X clock to be ungated 2015-02-24 10:01:10 +00:00
clk-axi-clkgen.c clk: axi-clkgen: Add support for v2 2014-02-26 17:02:29 -08:00
clk-axm5516.c clk: Add clock driver for AXM55xx SoC 2014-05-22 22:06:14 -07:00
clk-bcm2835.c ARM: bcm2835: remove custom .init_time hook 2013-09-29 21:09:24 +02:00
clk-composite.c clk: composite: pass mux_hw into determine_rate 2014-01-15 07:48:03 -08:00
clk-devres.c ARM: 7537/1: clk: Fix release in devm_clk_put() 2012-09-19 21:51:27 +01:00
clk-divider.c clk: divider: Fix clk_divider_round_rate() to use clk_readl() 2017-02-23 03:53:55 +00:00
clk-efm32gg.c clk/efm32gg: fix dt init prototype 2017-11-11 13:33:46 +00:00
clk-fixed-factor.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2013-11-15 16:47:22 -08:00
clk-fixed-rate.c clk: add accuracy support for fixed clock 2013-12-22 23:14:28 -08:00
clk-fractional-divider.c clk: new basic clk type for fractional divider 2014-05-20 13:34:02 +02:00
clk-gate.c clk-gate: fix bit # check in clk_register_gate() 2015-03-02 15:04:40 +00:00
clk-highbank.c clk: highbank: fix refcount leak in hb_clk_init() 2019-07-09 22:03:39 +01:00
clk-ls1x.c clk: add Loongson1B clock support 2012-08-31 11:05:18 -07:00
clk-max77686.c clk: max77686: Register OF clock provider 2014-01-08 09:57:07 -08:00
clk-moxart.c clk: add MOXA ART SoCs clock driver 2014-03-18 17:13:14 -07:00
clk-mux.c clk: wrap I/O access for improved portability 2013-08-27 17:50:38 -07:00
clk-nomadik.c clk: nomadik: fix multiplatform problem 2014-02-26 11:14:44 -08:00
clk-nspire.c clk: Add TI-Nspire clock drivers 2013-05-31 12:07:45 -07:00
clk-ppc-corenet.c clk: mpc85xx: Update the driver to align to new clock bindings 2014-03-19 17:04:14 -07:00
clk-s2mps11.c clk: s2mps11: Add used attribute to s2mps11_dt_match 2019-02-11 17:53:38 +00:00
clk-si570.c clk: si570: Fix email address specifiction 2014-05-20 16:18:18 +02:00
clk-si5351.c clk: si5351: Constify clock names and struct regmap_config 2018-11-20 18:06:01 +00:00
clk-si5351.h clk: si5351: remove variant from platform_data 2014-01-27 11:20:22 -08:00
clk-twl6040.c clk: use platform_{get,set}_drvdata() 2013-05-30 18:19:34 -07:00
clk-u300.c clk: u300: Terminate of match table 2014-05-27 18:29:04 -07:00
clk-vt8500.c clk: vt8500: Staticize vtwm_pll_ops 2013-12-19 17:47:32 -08:00
clk-wm831x.c clk: wm831x: fix usleep_range with bad range 2017-06-05 21:16:48 +01:00
clk-xgene.c clk: xgene: Add missing parenthesis when clearing divider value 2016-05-01 00:05:53 +02:00
clk.c clk: Fix JSON output in debugfs 2015-07-15 10:01:14 +01:00
clk.h clk: Add of_clk_get_by_clkspec() helper 2014-05-22 15:54:59 -07:00
clkdev.c clk: Add of_clk_get_by_clkspec() helper 2014-05-22 15:54:59 -07:00
Kconfig The clock framework changes for 3.16 are pretty typical: mostly clock 2014-06-07 20:27:30 -07:00
Makefile The clock framework changes for 3.16 are pretty typical: mostly clock 2014-06-07 20:27:30 -07:00