hwmon: (w83627ehf) Disable setting DC mode for pwm2, pwm3 on NCT6776F
authorGuenter Roeck <linux@roeck-us.net>
Sat, 28 Jan 2012 01:56:06 +0000 (17:56 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Sun, 29 Jan 2012 21:06:07 +0000 (13:06 -0800)
commitad77c3e1808f07fa70f707b1c92a683b7c7d3f85
tree114fda730a4d3d03a89854a228a6927075335a6a
parent6edf3c30af01854c416f8654d3d5d2652470afd4
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>
drivers/hwmon/w83627ehf.c