summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/qcom/tsens.c
diff options
context:
space:
mode:
authorVincent Knecht <vincent.knecht@mailoo.org>2022-08-11 12:50:14 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2022-10-04 11:21:43 +0200
commitb0c883e900702f408d62cf92b0ef01303ed69be9 (patch)
treed0f8d51f2809694c6d0a1159abec33ebb4efe158 /drivers/thermal/qcom/tsens.c
parent597f500fde76e129b51a5719da9e3df84acfb939 (diff)
downloadlinux-stable-b0c883e900702f408d62cf92b0ef01303ed69be9.tar.gz
linux-stable-b0c883e900702f408d62cf92b0ef01303ed69be9.tar.bz2
linux-stable-b0c883e900702f408d62cf92b0ef01303ed69be9.zip
thermal/drivers/qcom/tsens-v0_1: Fix MSM8939 fourth sensor hw_id
Reading temperature from this sensor fails with 'Invalid argument'. Looking at old vendor dts [1], its hw_id should be 3 instead of 4. Change this hw_id accordingly. [1] https://github.com/msm8916-mainline/android_kernel_qcom_msm8916/blob/master/arch/arm/boot/dts/qcom/msm8939-common.dtsi#L511 Fixes: 332bc8ebab2c ("thermal: qcom: tsens-v0_1: Add support for MSM8939") Signed-off-by: Vincent Knecht <vincent.knecht@mailoo.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org> Reviewed-by: Bjorn Andersson <andersson@kernel.org> Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org> Link: https://lore.kernel.org/r/20220811105014.7194-1-vincent.knecht@mailoo.org Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/thermal/qcom/tsens.c')
0 files changed, 0 insertions, 0 deletions