]> git.karo-electronics.de Git - linux-beck.git/commit
clk: rockchip: release io resource when failing to init clk
authorShawn Lin <shawn.lin@rock-chips.com>
Sun, 13 Mar 2016 04:13:22 +0000 (12:13 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Sun, 27 Mar 2016 11:03:35 +0000 (13:03 +0200)
commit1d003eb0805ac5b549e76202a1e95da33f62cb9a
tree372bc7310ebd63735e067e43e06e02c3aeca46d9
parentff1ae209617cb31a5297bd103709d6b9e2db77d2
clk: rockchip: release io resource when failing to init clk

We should call iounmap to relase reg_base since it's not going
to be used any more if failing to init clk.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
drivers/clk/rockchip/clk-rk3036.c
drivers/clk/rockchip/clk-rk3188.c
drivers/clk/rockchip/clk-rk3228.c
drivers/clk/rockchip/clk-rk3288.c
drivers/clk/rockchip/clk-rk3368.c