diff options
author | 2022-09-14 17:31:34 +0200 | |
---|---|---|
committer | 2022-09-25 14:22:10 -0700 | |
commit | b77f0c7680a4df2a550be5e0158204de1aa3a3ce (patch) | |
tree | 82f5c6b1cf48bb88c5131208c391f42cb50947eb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | hwmon: (pwm-fan) Refactor fan power on/off (diff) | |
download | wireguard-linux-b77f0c7680a4df2a550be5e0158204de1aa3a3ce.tar.xz wireguard-linux-b77f0c7680a4df2a550be5e0158204de1aa3a3ce.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions