aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorAlexander Stein <[email protected]>2022-09-14 17:31:34 +0200
committerGuenter Roeck <[email protected]>2022-09-25 14:22:10 -0700
commitb77f0c7680a4df2a550be5e0158204de1aa3a3ce (patch)
tree82f5c6b1cf48bb88c5131208c391f42cb50947eb /net/lapb/lapb_out.c
parentbf10ccad068088f4e31f4d4266356d1d24cf5734 (diff)
hwmon: (pwm-fan) Simplify enable/disable check
Instead of comparing the current to the new pwm duty to decide whether to enable the PWM, use a dedicated flag. Also apply the new PWM duty in any case. This is a preparation to enable/disable the regulator dynamically. Signed-off-by: Alexander Stein <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'net/lapb/lapb_out.c')
0 files changed, 0 insertions, 0 deletions