[PATCH] w83627hf: Add pwm_enable sysfs-interface

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux