thermal/drivers/tsens: Fix bug in sensor enable for msm8960
authorAnsuel Smith <ansuelsmth@gmail.com>
Tue, 20 Apr 2021 18:33:39 +0000 (20:33 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Thu, 22 Apr 2021 12:09:32 +0000 (14:09 +0200)
commit3d08f029fdbbd29c8b363ef4c8c4bfe3b8f79ad0
treedc143f3d9d470559a25bc90f77a6a22d3ea57139
parentfdda131f8fbadee2dfc21f0787d11547b42a961e
thermal/drivers/tsens: Fix bug in sensor enable for msm8960

Device based on tsens VER_0 contains a hardware bug that results in some
problem with sensor enablement. Sensor id 6-11 can't be enabled
selectively and all of them must be enabled in one step.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Acked-by: Thara Gopinath <thara.gopinath@linaro.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210420183343.2272-6-ansuelsmth@gmail.com
drivers/thermal/qcom/tsens-8960.c