Re: [PATCH 3/3] hwmon: (cros_ec) Synchronize EC access from the thermal device callbacks
Guenter Roeck <[email protected]> Sun, 19 Jul 2026 07:35:45 -0700
| Newsgroups | dev.linux.lists.chrome-platform,org.kernel.vger.linux-hwmon,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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 <[email protected]>
Applied.
Thanks,
Guenter