hwmon: (w83l786ng) Fix fan speed control mode setting and reporting
authorBrian Carnes <bmcarnes@gmail.com>
Thu, 12 Dec 2013 07:05:32 +0000 (08:05 +0100)
committerJean Delvare <khali@endymion.delvare>
Thu, 12 Dec 2013 07:05:32 +0000 (08:05 +0100)
commitcf7559bc053471f32373d71d04a9aa19e0b48d59
tree6bec0dc9466ff39f33d0b98d3cc3a9fa677a07ae
parent3d489ac07ed85c4908d864abb77ab1e6f94e0e4b
hwmon: (w83l786ng) Fix fan speed control mode setting and reporting

The wrong mask is used, which causes some fan speed control modes
(pwmX_enable) to be incorrectly reported, and some modes to be
impossible to set.

[JD: add subject and description.]

Signed-off-by: Brian Carnes <bmcarnes@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/w83l786ng.c