Revert "thermal: rockchip: fix up the tsadc pinctrl setting error"
authorHeiko Stuebner <heiko@sntech.de>
Wed, 22 May 2019 14:12:36 +0000 (16:12 +0200)
committerEduardo Valentin <edubezval@gmail.com>
Fri, 24 May 2019 04:48:58 +0000 (21:48 -0700)
commit0f5ee062d87e69028ea38a50fdd66859ea0dbb11
tree21145fb4d1312fe0f2b9c9d414acb3f268c562fa
parent4dde821e4296e156d133b98ddc4c45861935a4fb
Revert "thermal: rockchip: fix up the tsadc pinctrl setting error"

This reverts commit 28694e009e512451ead5519dd801f9869acb1f60.

The commit causes multiple issues in that:
- the added call to ->control does potentially run unclocked
  causing a hang of the machine
- the added pinctrl-states are undocumented in the binding
- the added pinctrl-states are not backwards compatible, breaking
  old devicetrees.

Fixes: 28694e009e51 ("thermal: rockchip: fix up the tsadc pinctrl setting error")
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reported-by: kernelci.org bot <bot@kernelci.org>
Reported-by: Enric Balletbo Serra <eballetbo@gmail.com>
Reported-by: Vicente Bergas <vicencb@gmail.com>
Reported-by: Jack Mitchell <ml@embed.me.uk>
Reported-by: Douglas Anderson <dianders@chromium.org>
Tested-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/rockchip_thermal.c