diff options
author | Alexander Stein <alexander.stein@ew.tq-group.com> | 2022-09-14 17:31:34 +0200 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-09-25 14:22:10 -0700 |
commit | b77f0c7680a4df2a550be5e0158204de1aa3a3ce (patch) | |
tree | 82f5c6b1cf48bb88c5131208c391f42cb50947eb /scripts/gdb/linux/utils.py | |
parent | bf10ccad068088f4e31f4d4266356d1d24cf5734 (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 <alexander.stein@ew.tq-group.com>
Link: https://lore.kernel.org/r/20220914153137.613982-3-alexander.stein@ew.tq-group.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions