hwmon: (pwm-fan) Fix suspend/resume behavior
authorKamil Debski <k.debski@samsung.com>
Mon, 3 Nov 2014 14:42:55 +0000 (15:42 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 11 Nov 2014 18:39:45 +0000 (10:39 -0800)
The state of a PWM output is not clearly defined after resume. Some PWM
drivers do not restore the duty cycle upon resume, thus it is necessary to
manually restore the correct value.

Signed-off-by: Kamil Debski <k.debski@samsung.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>

No differences found