Skip to content
Commit b0c883e9 authored by Vincent Knecht's avatar Vincent Knecht Committed by Daniel Lezcano
Browse files

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: 332bc8eb ("thermal: qcom: tsens-v0_1: Add support for MSM8939")
Signed-off-by: default avatarVincent Knecht <vincent.knecht@mailoo.org>
Reviewed-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: default avatarBjorn Andersson <andersson@kernel.org>
Reviewed-by: default avatarBryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20220811105014.7194-1-vincent.knecht@mailoo.org


Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent 597f500f
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment