On Wed, Sep 14, 2022 at 05:31:36PM +0200, Alexander Stein wrote: > Regular calls to set_pwm don't hold the mutex, but the upcoming > update_enable support needs to call set_pwm with the mutex being held. > So provide the previous behavior in set_pwm (handling the lock), while > adding __set_pwm which assumes the lock being held. > > Signed-off-by: Alexander Stein <alexander.stein@xxxxxxxxxxxxxxx> > Reviewed-by: Guenter Roeck <linux@xxxxxxxxxxxx> Applied to hwmon-next. Thanks, Guenter