[lm-sensors] [PATCH] w83627hf: Add pwm_enable sysfs-interface
Jean Delvare
khali at linux-fr.org
Tue May 20 21:00:36 CEST 2008
Hi Dominik,
On Tue, 20 May 2008 18:56:29 +0200, Dominik Geyer wrote:
> Please find my new patch (inline & attached).
>
> There are no checks for the presence of a PWM3 in functions show_pwm_enable() and
> store_pwm_enable(), I hope this is correct.
Yes it is, because the pwm3_enable sysfs file is only created for the
devices which have PWM3, and show_pwm_enable() and store_pwm_enable()
can only be called from sysfs files which have been created.
> I tested switching to manual pwm-mode and back to automatic pwm-mode on a
> W83697HF.
This updated patch looks all OK to me.
Acked-by: Jean Delvare <khali at linux-fr.org>
--
Jean Delvare
More information about the lm-sensors
mailing list