From 008315e4c67cb0860ad27e31252081262b425998 Mon Sep 17 00:00:00 2001 From: Stephen Rothwell Date: Thu, 5 Nov 2015 15:56:50 +1100 Subject: [PATCH] Revert "thermal: rockchip: support the sleep pinctrl state to avoid glitches in s2r" This reverts commit 7e38a5b1daa12cbaace3c76402999a84460df3e2. Signed-off-by: Stephen Rothwell --- drivers/thermal/rockchip_thermal.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/thermal/rockchip_thermal.c b/drivers/thermal/rockchip_thermal.c index 2b58870c3e25..4d5b7d4b68a7 100644 --- a/drivers/thermal/rockchip_thermal.c +++ b/drivers/thermal/rockchip_thermal.c @@ -638,8 +638,6 @@ static int __maybe_unused rockchip_thermal_suspend(struct device *dev) clk_disable(thermal->pclk); clk_disable(thermal->clk); - pinctrl_pm_select_sleep_state(dev); - return 0; } @@ -676,8 +674,6 @@ static int __maybe_unused rockchip_thermal_resume(struct device *dev) for (i = 0; i < ARRAY_SIZE(thermal->sensors); i++) rockchip_thermal_toggle_sensor(&thermal->sensors[i], true); - pinctrl_pm_select_default_state(dev); - return 0; } -- 2.39.2