Re: [PATCH v5 1/1] hwmon: (gpio-fan) Add regulator support
From: Guenter Roeck
Date: Wed Apr 09 2025 - 10:38:05 EST
On Wed, Apr 09, 2025 at 08:54:26AM +0200, Alexander Stein wrote:
> FANs might be supplied by a regulator which needs to be enabled as well.
> This is implemented using runtime PM. Every time speed_index changes from
> 0 to non-zero and vise versa RPM is resumed or suspended.
> Intitial RPM state is determined by initial value of speed_index.
>
> Signed-off-by: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx>
Applied (again). Let's hope it sticks this time.
Note that building with gcc on x86 does not typically report uninitialized
variables for some reason, even with W=1.
Guenter