FROMLIST: 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)
committerGerrit Code Review <gerrit@rock-chips.com>
Mon, 18 Apr 2016 09:20:04 +0000 (17:20 +0800)
commite90650e85bcfb1682d55e8f77adf786dd874f37b
tree9d1b685aaff12e5bbee5a62388ca00a021eb88d4
parent268399dd6510997f0cce07f20ab9fbd5dcd89ee9
FROMLIST: thermal: rockchip: disable thermal->clk in err case

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

Change-Id: I7d8780be04891bf4cddf1ba970eae2a2f14ec7ac
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>
(am from https://patchwork.kernel.org/patch/8867151/)
drivers/thermal/rockchip_thermal.c