1
0
Fork 0
alistair23-linux/drivers/clk/bcm
Navid Emamdoost 9a3ee7177f clk: bcm2835: add missing release if devm_clk_hw_register fails
[ Upstream commit f6c992ca7d ]

In the implementation of bcm2835_register_pll(), the allocated pll is
leaked if devm_clk_hw_register() fails to register hw. Release pll if
devm_clk_hw_register() fails.

Signed-off-by: Navid Emamdoost <navid.emamdoost@gmail.com>
Link: https://lore.kernel.org/r/20200809231202.15811-1-navid.emamdoost@gmail.com
Fixes: 41691b8862 ("clk: bcm2835: Add support for programming the audio domain clocks")
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-29 09:57:55 +01:00
..
Kconfig This round of clk driver and framework updates is heavy on the driver update 2019-07-17 10:07:48 -07:00
Makefile Merge branches 'clk-bcm63xx', 'clk-silabs', 'clk-lochnagar' and 'clk-rockchip' into clk-next 2019-07-12 11:11:51 -07:00
clk-bcm63xx-gate.c clk: bcm63xx-gate: fix last clock availability 2020-08-19 08:16:07 +02:00
clk-bcm63xx.c clk: bcm: Add BCM63138 clock support 2015-11-20 15:46:27 -08:00
clk-bcm281xx.c clk: bcm281xx: move compatible string definitions 2014-04-30 11:51:39 -07:00
clk-bcm2835-aux.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
clk-bcm2835.c clk: bcm2835: add missing release if devm_clk_hw_register fails 2020-10-29 09:57:55 +01:00
clk-bcm21664.c clk: bcm21664: use common clock framework 2014-04-30 11:51:44 -07:00
clk-bcm53573-ilp.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
clk-cygnus.c clk: iproc: Allow iproc pll to runtime calculate vco parameters 2017-12-28 14:53:33 -08:00
clk-hr2.c clk: bcm: Add Broadcom Hurricane 2 clock support 2017-10-12 11:31:46 -07:00
clk-iproc-armpll.c clk: bcm: iproc: Migrate to clk_hw based registration and OF APIs 2016-06-30 12:26:45 -07:00
clk-iproc-asiu.c treewide: Use struct_size() for kmalloc()-family 2018-06-06 11:15:43 -07:00
clk-iproc-pll.c treewide: Use struct_size() for kmalloc()-family 2018-06-06 11:15:43 -07:00
clk-iproc.h clk: iproc: Allow iproc pll to runtime calculate vco parameters 2017-12-28 14:53:33 -08:00
clk-kona-setup.c clk: Convert to using %pOFn instead of device_node.name 2018-08-30 09:50:20 -07:00
clk-kona.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
clk-kona.h clk: bcm: kona: Migrate to clk_hw based registration and OF APIs 2016-08-24 16:06:18 -07:00
clk-ns2.c clk: ns2: Correct SDIO bits 2017-04-19 09:50:39 -07:00
clk-nsp.c clk: iproc: Split off dig_filter 2015-10-21 17:02:57 -07:00
clk-raspberrypi.c clk: raspberrypi: register platform device for raspberrypi-cpufreq 2019-06-25 16:04:28 -07:00
clk-sr.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 459 2019-06-19 17:09:09 +02:00