diff options
author | Luca Weiss <[email protected]> | 2022-10-20 16:52:37 +0200 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2022-12-14 15:25:40 +0100 |
commit | 8763f8acbf8aef22a2321d4c978cd078aa3b8f64 (patch) | |
tree | e6c650b503a1d9ed5d6d47e3d945d12fab9d8da6 /lib/mpi/mpi-sub-ui.c | |
parent | fa17c4136db0bc91e698bd227cb478c648863d11 (diff) |
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 <[email protected]>
Reviewed-by: Amit Kucheria <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions