diff options
author | Frank Wunderlich <frank-w@public-files.de> | 2023-09-07 13:20:18 +0200 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2024-03-11 17:14:46 +0100 |
commit | 371ed6263e2403068b359f0c07188548c2d70827 (patch) | |
tree | 245e364ee77a62693fc1849389ff62691ec64f6d /drivers/thermal/Makefile | |
parent | ca93bf607a44c1f009283dac4af7df0d9ae5e357 (diff) | |
download | linux-stable-371ed6263e2403068b359f0c07188548c2d70827.tar.gz linux-stable-371ed6263e2403068b359f0c07188548c2d70827.tar.bz2 linux-stable-371ed6263e2403068b359f0c07188548c2d70827.zip |
thermal/drivers/mediatek: Fix control buffer enablement on MT7896
Reading thermal sensor on mt7986 devices returns invalid temperature:
bpi-r3 ~ # cat /sys/class/thermal/thermal_zone0/temp
-274000
Fix this by adding missing members in mtk_thermal_data struct which were
used in mtk_thermal_turn_on_buffer after commit 33140e668b10.
Cc: stable@vger.kernel.org
Fixes: 33140e668b10 ("thermal/drivers/mediatek: Control buffer enablement tweaks")
Signed-off-by: Frank Wunderlich <frank-w@public-files.de>
Reviewed-by: Markus Schneider-Pargmann <msp@baylibre.com>
Reviewed-by: Daniel Golle <daniel@makrotopia.org>
Tested-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230907112018.52811-1-linux@fw-web.de
Diffstat (limited to 'drivers/thermal/Makefile')
0 files changed, 0 insertions, 0 deletions