linux/drivers/hwmon/pmbus
Eddie James 5a672beac7 hwmon: (pmbus/ibm-cffps) Fix LED blink behavior
commit 92b39ad440 upstream.

The LED blink_set function incorrectly did not tell the PSU LED to blink
if brightness was LED_OFF. Fix this, and also correct the LED_OFF
command data, which should give control of the LED back to the PSU
firmware. Also prevent I2C failures from getting the driver LED state
out of sync and add some dev_dbg statements.

Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20191106200106.29519-3-eajames@linux.ibm.com
Fixes: ef9e1cdf41 ("hwmon: (pmbus/cffps) Add led class device for power supply fault led")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2020-01-23 08:23:01 +01:00
..
Kconfig hwmon: pmbus: Add Inspur Power System power supply driver 2019-09-03 12:47:17 -07:00
Makefile hwmon: pmbus: Add Inspur Power System power supply driver 2019-09-03 12:47:17 -07:00
adm1275.c hwmon: (pmbus/adm1275) Fix power sampling support 2019-06-23 18:33:01 -07:00
ibm-cffps.c hwmon: (pmbus/ibm-cffps) Fix LED blink behavior 2020-01-23 08:23:01 +01:00
inspur-ipsps.c hwmon: pmbus: Add Inspur Power System power supply driver 2019-09-03 12:47:17 -07:00
ir35221.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
ir38064.c hwmon: (pmbus/ir38064) Add driver for Infineon IR38064 Voltage Regulator 2019-04-15 17:19:53 -07:00
irps5401.c hwmon: (pmbus) Add Infineon IRPS5401 driver 2019-06-23 18:33:01 -07:00
isl68137.c hwmon: (pmbus/isl68137) Add driver for Intersil ISL68137 PWM Controller 2019-04-15 17:19:53 -07:00
lm25066.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
ltc2978.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
ltc3815.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
max8688.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
max16064.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
max20751.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
max31785.c hwmon: (pmbus/max31785) Remove a useless #define 2019-09-03 12:47:17 -07:00
max34440.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
pmbus.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
pmbus.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
pmbus_core.c hwmon: (pmbus/core) Treat parameters as paged if on multiple pages 2019-06-05 18:36:27 -07:00
pxe1610.c hwmon: (pmbus) Add Infineon PXE1610 VR driver 2019-06-23 18:33:01 -07:00
tps40422.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
tps53679.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 157 2019-05-30 11:26:37 -07:00
ucd9000.c hwmon: pmbus: ucd9000: remove unneeded include 2019-08-31 08:04:57 -07:00
ucd9200.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00
zl6100.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 61 2019-05-24 17:36:45 +02:00