hwmon: (pwm-fan) Update the duty cycle inorder to control the pwm-fan
pwm_config() must be called with a duty cycle of 0 prior to calling pwm_disable() to ensure that the pwm signal is set to low. Reported-by: NMarkus Reichl <m.reichl@fivetechno.de> Tested-by: NMarkus Reichl <m.reichl@fivetechno.de> Reviewed-by: NLukasz Majewski <l.majewski@samsung.com> Reviewed-by: NSjoerd Simons <sjoerd.simons@collabora.co.uk> Signed-off-by: NAnand Moon <linux.amoon@gmail.com> Signed-off-by: NGuenter Roeck <linux@roeck-us.net>
Showing
想要评论请 注册 或 登录