clk: rockchip: release io resource when failing to init clk on rk3399
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 3 Jun 2016 00:54:18 +0000 (08:54 +0800)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 3 Jun 2016 13:36:49 +0000 (15:36 +0200)
commit62d0e71df063101e4551327bd9fa9aaa3535c86b
tree978dc17ad59ad4d7c0b6cfd4d3d5c592d906c05c
parent3183c0d519ff83af2926382c11716496f01d34bf
clk: rockchip: release io resource when failing to init clk on rk3399

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

This was missing on the newly added rk3399 clock tree.

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