android_kernel_oneplus_msm8998/drivers/clk/rockchip
Shawn Lin c7ea1f7642 clk: rockchip: free memory in error cases when registering clock branches
commit 2467b6745e0ae9c6cdccff24c4cceeb14b1cce3f upstream.

Add free memeory if rockchip_clk_register_branch fails.

Fixes: a245fecbb8 ("clk: rockchip: add basic infrastructure...")
Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-05-11 11:21:12 +02:00
..
clk-cpu.c
clk-inverter.c
clk-mmc-phase.c The majority of the changes are driver updates and new device 2015-11-05 12:59:36 -08:00
clk-pll.c
clk-rk3188.c clk: rockchip: add hclk_cpubus to the list of rk3188 critical clocks 2016-04-12 09:09:02 -07:00
clk-rk3288.c
clk-rk3368.c clk: rockchip: rk3368: fix hdmi_cec gate-register 2016-04-12 09:09:02 -07:00
clk-rockchip.c
clk.c clk: rockchip: free memory in error cases when registering clock branches 2016-05-11 11:21:12 +02:00
clk.h
Makefile
softrst.c