[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <aed584c0-f097-fdef-8078-a7c457d1cb1a@collabora.com>
Date: Thu, 19 May 2022 13:12:46 +0200
From: AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>
To: James Lo <james.lo@...iatek.com>,
"Rafael J . Wysocki" <rafael@...nel.org>,
Daniel Lezcano <daniel.lezcano@...aro.org>,
Matthias Brugger <matthias.bgg@...il.com>,
linux-pm@...r.kernel.org
Cc: linux-arm-kernel@...ts.infradead.org,
linux-mediatek@...ts.infradead.org, linux-kernel@...r.kernel.org,
Project_Global_Chrome_Upstream_Group@...iatek.com,
Fan Chen <fan.chen@...iatek.com>,
Louis Yu <louis.yu@...iatek.com>,
Michael Kao <michael.kao@...iatek.com>,
Hsin-Yi Wang <hsinyi@...omium.org>,
Ben Tseng <ben.tseng@...iatek.com>
Subject: Re: [v10 1/1] thermal: mediatek: add another get_temp ops for thermal
sensors
Il 19/05/22 12:10, James Lo ha scritto:
> Provide thermal zone to read thermal sensor
> in the SoC. We can read all the thermal sensors
> value in the SoC by the node /sys/class/thermal/
>
> In mtk_thermal_bank_temperature, return -EAGAIN instead of -EACCESS
> on the first read of sensor that often are bogus values.
> This can avoid following warning on boot:
>
> thermal thermal_zone6: failed to read out thermal zone (-13)
>
> Signed-off-by: Michael Kao <michael.kao@...iatek.com>
> Signed-off-by: Hsin-Yi Wang <hsinyi@...omium.org>
> Signed-off-by: Ben Tseng <ben.tseng@...iatek.com>
> Signed-off-by: James Lo <james.lo@...iatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@...labora.com>
Powered by blists - more mailing lists