]> git.baikalelectronics.ru Git - kernel.git/commit
thermal/drivers/tsens: fix slope values for msm8939
authorDmitry Baryshkov <dmitry.baryshkov@linaro.org>
Sun, 1 Jan 2023 19:40:21 +0000 (21:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 10 Mar 2023 08:32:54 +0000 (09:32 +0100)
commitf73f72ebda303a7306ff4bc12353ca294bd9a98d
tree6cc6e3e35f3550afa4cb108b3315e5712fc1fed4
parent7b4352063d00777ba6259d824a295c7b57286c34
thermal/drivers/tsens: fix slope values for msm8939

[ Upstream commit bfcc8997d296207bae21a807903b123193fcf429 ]

According to the vendor kernels (msm-3.10, 3.14 and 3.18), msm8939
uses non-standard slope values for calibrating the sensors. Fill them
accordingly.

Fixes: 6c7be9cc6388 ("thermal: qcom: tsens-v0_1: Add support for MSM8939")
Cc: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Cc: Shawn Guo <shawn.guo@linaro.org>
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Link: https://lore.kernel.org/r/20230101194034.831222-8-dmitry.baryshkov@linaro.org
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/thermal/qcom/tsens-v0_1.c