summaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2019-11-06 23:01:06 +0300
committerJoel Stanley <joel@jms.id.au>2019-11-13 10:12:23 +0300
commitf39d9d8b88362602e1ac3790c4ffc0f2c03913cb (patch)
tree178c6a8b9e7eb4c2475496ed8f9e50cc0b689ab2 /lib/mpi/mpiutil.c
parent4b2edd79b6fe371804ea3ae3cd0b40d8254c51fa (diff)
downloadlinux-f39d9d8b88362602e1ac3790c4ffc0f2c03913cb.tar.xz
hwmon: (pmbus/ibm-cffps) Fix LED blink behavior
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. OpenBMC-Staging-Count: 1 Signed-off-by: Eddie James <eajames@linux.ibm.com> Link: https://lore.kernel.org/r/20191106200106.29519-3-eajames@linux.ibm.com Fixes: ef9e1cdf419a3 ("hwmon: (pmbus/cffps) Add led class device for power supply fault led") Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Joel Stanley <joel@jms.id.au>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions