soc: qcom: Invert the cooling states for the aoss warming devices
authorThara Gopinath <thara.gopinath@linaro.org>
Thu, 19 Sep 2019 16:18:22 +0000 (12:18 -0400)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 15 Oct 2019 03:42:16 +0000 (20:42 -0700)
commitc55b5c663076e49d066481b05b39ae037ab8002f
tree433073adc60cbe4dfddad7c8a1860ef3d5f5c3f8
parente38161bd325ea541ef2f258d8e28281077dde524
soc: qcom: Invert the cooling states for the aoss warming devices

Thermal framework takes 0 as the lowest/default state for a
cooling/warming device. The current code has the order inverted with 1
corresponding to lowest state in hardware and 0 the highest state.
Invert this for a better fit with the thermal framework.

Signed-off-by: Thara Gopinath <thara.gopinath@linaro.org>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/soc/qcom/qcom_aoss.c