Re: [PATCH 1/3] hwmon: (cros_ec) Register the thermal devices after the hwmon ones

Guenter Roeck <[email protected]> Sun, 19 Jul 2026 07:34:33 -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:05AM +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.
> The locking will use standard hwmon device locks, which requires
> the hwmon device to be ready before the fan devices are set up.
> 
> Reorder the initialization so this works.
> 
> Signed-off-by: Thomas Weißschuh <[email protected]>

Applied.

Thanks,
Guenter