]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (w83l786ng) Report correct minimum fan speed
authorAxel Lin <axel.lin@ingics.com>
Wed, 25 Jun 2014 01:02:32 +0000 (09:02 +0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 25 Jun 2014 13:59:39 +0000 (06:59 -0700)
commit39aee4ce5a5205e93bfd967a9f19e26c1979eda8
treeb2b282a23c7612b5a9a3a1bf01e50d50f1b8c45d
parentdad65f214dcb12470d80fac0c10a00cc171b7834
hwmon: (w83l786ng) Report correct minimum fan speed

Current code is buggy, it shows the current fan speed as minimum fan speed.
Fix up show_fan_reg macro to correctly report fan and fan_min speed.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Kevin Lo <kevlo@kevlo.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/w83l786ng.c