summaryrefslogtreecommitdiffstats
path: root/security/loadpin
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2018-03-27 04:50:31 +0200
committerGuenter Roeck <linux@roeck-us.net>2018-03-27 17:49:24 +0200
commit415eb2a1aaa4881cf85bd86c683356fdd8094a23 (patch)
tree23a11a51405af48d7d778c636b6364b9cef8208d /security/loadpin
parenthwmon: (lm92) Add max6635 to lm92_id[] (diff)
downloadlinux-415eb2a1aaa4881cf85bd86c683356fdd8094a23.tar.xz
linux-415eb2a1aaa4881cf85bd86c683356fdd8094a23.zip
hwmon: (nct6775) Fix writing pwmX_mode
pwmX_mode is defined in the ABI as 0=DC mode, 1=pwm mode. The chip register bit is set to 1 for DC mode. This got mixed up, and writing 1 into pwmX_mode resulted in DC mode enabled. Fix it up by using the ABI definition throughout the driver for consistency. Fixes: 77eb5b3703d99 ("hwmon: (nct6775) Add support for pwm, pwm_mode, ... ") Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'security/loadpin')
0 files changed, 0 insertions, 0 deletions