Home
last modified time | relevance | path

Searched hist:"8763 f8acbf8aef22a2321d4c978cd078aa3b8f64" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/thermal/qcom/
H A Dqcom-spmi-temp-alarm.cdiff 8763f8acbf8aef22a2321d4c978cd078aa3b8f64 Thu Oct 20 16:52:37 CEST 2022 Luca Weiss <luca.weiss@fairphone.com> thermal/drivers/qcom/temp-alarm: Fix inaccurate warning for gen2

On gen2 chips the stage2 threshold is not 140 degC but 125 degC.

Make the warning message clearer by using this variable and also by
including the temperature that was checked for.

Fixes: aa92b3310c55 ("thermal/drivers/qcom-spmi-temp-alarm: Add support for GEN2 rev 1 PMIC peripherals")
Signed-off-by: Luca Weiss <luca.weiss@fairphone.com>
Reviewed-by: Amit Kucheria <amitk@kernel.org>
Link: https://lore.kernel.org/r/20221020145237.942146-1-luca.weiss@fairphone.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>