summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorMarius Zachmann <mail@mariuszachmann.de>2020-07-21 10:54:47 +0200
committerGuenter Roeck <linux@roeck-us.net>2020-07-24 07:44:57 -0700
commitfa4dac3e1bf7fadb4c5e098dcd721eafe3cd80c5 (patch)
tree591905266109c56f8949c00f09ea5bb756bb7163 /MAINTAINERS
parente4922176e1669f174e101d321d76fdc1a134f7ac (diff)
downloadlinux-fa4dac3e1bf7fadb4c5e098dcd721eafe3cd80c5.tar.gz
linux-fa4dac3e1bf7fadb4c5e098dcd721eafe3cd80c5.tar.bz2
linux-fa4dac3e1bf7fadb4c5e098dcd721eafe3cd80c5.zip
hwmon: (corsair-cpro) add reading pwm values
This adds the possibility for reading pwm values. These can not be read if the device is controlled via fan_target or a fan curve and will return an error in this case. Since an error is expected, this adds some rudimentary error handling. Changes: - add CTL_GET_FAN_PWM and use it via get_data - pwm returns -ENODATA if the device returns error 0x12 - fan_target now returns -ENODATA when the driver is started or a pwm value is set. - add ccp_get_errno to determine errno from device error. - get_data now has a parameter to determine whether to read one or two bytes of data. - update documentation - fix missing surname in MAINTAINERS Signed-off-by: Marius Zachmann <mail@mariuszachmann.de> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'MAINTAINERS')
-rw-r--r--MAINTAINERS2
1 files changed, 1 insertions, 1 deletions
diff --git a/MAINTAINERS b/MAINTAINERS
index 06607125b793..a93aefab91f1 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -4402,7 +4402,7 @@ F: Documentation/hwmon/coretemp.rst
F: drivers/hwmon/coretemp.c
CORSAIR-CPRO HARDWARE MONITOR DRIVER
-M: Marius <mail@mariuszachmann.de>
+M: Marius Zachmann <mail@mariuszachmann.de>
L: linux-hwmon@vger.kernel.org
S: Maintained
F: drivers/hwmon/corsair-cpro.c