]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/thermal/rockchip_thermal.c
Revert "thermal: rockchip: support the sleep pinctrl state to avoid glitches in s2r"
[karo-tx-linux.git] / 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;
 }