Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d66777ca authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (it87) Fix pwm4 detection for IT8620 and IT8628



pwm4 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.

Fixes: 36c4d98a ("hwmon: (it87) Add support for all pwm channels ...")
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 82dbe987
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment