clk: rockchip: disable alt_parent clk in err cases when registering cpuclk
authorShawn Lin <shawn.lin@rock-chips.com>
Mon, 15 Feb 2016 03:33:15 +0000 (11:33 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Mon, 15 Feb 2016 21:32:00 +0000 (22:32 +0100)
commit282312d1ac8aad4947a01c2caf79c9c0299fb495
treefbab6a0c8e44336e243f40774af80d852f48926f
parent36714529f8bbd4f8eaf93b50f4a64c52a24879aa
clk: rockchip: disable alt_parent clk in err cases when registering cpuclk

Add clk_disable_unprepare to handle cpuclk->alt_parent if
rockchip_clk_register_cpuclk fails.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-cpu.c
This page took 0.027623 seconds and 5 git commands to generate.