aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_out.c
diff options
context:
space:
mode:
authorAlexander Stein <[email protected]>2022-09-14 17:31:37 +0200
committerGuenter Roeck <[email protected]>2022-09-25 14:22:11 -0700
commitb99152d4f04b379e31db6c1a2dda6b272c92039b (patch)
tree4dfa123fcc39be37b006ac865a4d277859503e97 /net/lapb/lapb_out.c
parent9db6e7f500541b797acc207c790024f6179e2e6c (diff)
hwmon: (pwm-fan) Switch regulator dynamically
This adds the enable attribute which is used to select if zero PWM duty means to switch off regulator and PWM or to keep them enabled but at inactive PWM output level. Depending on the select enable mode, turn off the regulator and PWM if the PWM duty is zero, or keep them enabled. This is especially important for fan using inverted PWM signal polarity. Having regulator supplied and PWM disabled, some PWM controllers provide the active, rather than inactive signal. With this change the shutdown as well as suspend/resume paths require modifcations as well. 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