commit | ad77c3e1808f07fa70f707b1c92a683b7c7d3f85 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Fri Jan 27 17:56:06 2012 -0800 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Sun Jan 29 13:06:07 2012 -0800 |
tree | 114fda730a4d3d03a89854a228a6927075335a6a | |
parent | 6edf3c30af01854c416f8654d3d5d2652470afd4 [diff] |
hwmon: (w83627ehf) Disable setting DC mode for pwm2, pwm3 on NCT6776F NCT6776F only supports pwm mode for pwm2 and pwm3. Return error if an attempt is made to set those pwm channels to DC mode. Signed-off-by: Guenter Roeck <linux@roeck-us.net> Acked-by: Jean Delvare <khali@linux-fr.org> Cc: stable@vger.kernel.org # 3.0+ Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>