Re: [PATCH 3/3] hwmon: (cros_ec) Synchronize EC access from the thermal device callbacks

From: Guenter Roeck

Date: Sun Jul 19 2026 - 10:35:51 EST


On Sat, Jul 11, 2026 at 11:59:07AM +0200, Thomas Weißschuh wrote:
> To guarantee consistency for the read-modify-write access in
> cros_ec_hwmon_cooling_set_cur_state(), locking is necessary.
>
> Use the existing hwmon device lock to do so.
>
> Fixes: 5798b62867b4 ("hwmon: (cros_ec) register fans into thermal framework cooling devices")
> Signed-off-by: Thomas Weißschuh <linux@xxxxxxxxxxxxxx>

Applied.

Thanks,
Guenter