Re: regression with 33140e668b10 thermal/drivers/mediatek: Control buffer enablement tweaks

From: Bagas Sanjaya
Date: Thu Aug 31 2023 - 05:53:36 EST


On Thu, Aug 31, 2023 at 11:25:11AM +0200, Frank Wunderlich wrote:
> Hi,
>
> The commit 33140e668b10 "thermal/drivers/mediatek: Control buffer enablement tweaks" is merged between 6.3 and 6.4 and causes a regression where temperature cannot be read correctly at least for mt7986/Bpi-R3.
>
> bpi-r3 ~ # cat /sys/class/thermal/thermal_zone0/temp
> -274000
>
> after reverting the commit and fixing some build-errors in 6.5-rc7 because new members used in mt8365_thermal_data too, we can read temperature on mt7986 again.
>

Thanks for the regression report. I'm adding it to regzbot:

#regzbot ^introduced: 33140e668b1020
#regzbot title: incorrect temperature on MT7986 due to tweaking buffer

--
An old man doll... just what I always wanted! - Clara

Attachment: signature.asc
Description: PGP signature