thermal: rockchip: disable thermal->clk in err case
authorShawn Lin <shawn.lin@rock-chips.com>
Mon, 18 Apr 2016 03:35:53 +0000 (11:35 +0800)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 17 May 2016 14:28:32 +0000 (07:28 -0700)
commitab5b52f1606f3a83e541102adf5d50e7a9bfdef5
tree8d82ef07e610c87bbf955b3334dac0eeba38567f
parent44cb6a7df13d3f6e663262e8c264a46cf84aa679
thermal: rockchip: disable thermal->clk in err case

Disable thermal->clk when enabling pclk fails in
resume routine.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/rockchip_thermal.c