]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
Revert "thermal: rockchip: support the sleep pinctrl state to avoid glitches in s2r"
authorStephen Rothwell <sfr@canb.auug.org.au>
Thu, 5 Nov 2015 04:56:50 +0000 (15:56 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 5 Nov 2015 04:57:39 +0000 (15:57 +1100)
This reverts commit 7e38a5b1daa12cbaace3c76402999a84460df3e2.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
drivers/thermal/rockchip_thermal.c

index 2b58870c3e25f5fad61ca7deda5c6596bfbe7cc8..4d5b7d4b68a78c97a836c2d55996fb13f6096ffb 100644 (file)
@@ -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;
 }