]> git.sur5r.net Git - groeck-it87/commit
Fix fan4_ctl detection for IT8620, IT8628
authorGuenter Roeck <linux@roeck-us.net>
Wed, 8 Feb 2017 14:29:43 +0000 (06:29 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 8 Feb 2017 14:30:54 +0000 (06:30 -0800)
commitdce3d8968bcada3e0370ed70fc584b9eb830ecab
treef57c5205ed17b7a7b758ffa74f1318f3de1f2036
parent84bff31dc1a156c5eccb4b9909b46f24b15202b4
Fix fan4_ctl detection for IT8620, IT8628

fan4 control is enabled if bit 2 of GPIO control register 4 is disabled,
not when it is enabled. Since the check is for the skip condition, it is
reversed. This applies to both IT8620 and IT8628.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
it87.c