summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2019-11-06 23:01:06 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-23 10:23:01 +0300
commit5a672beac788294f176a5d9570bde77f3c4b965f (patch)
tree35ce42e286892c93d9c8f4c67a638538c8cdd780 /tools
parentc6743bc169fbb211063095942c03d6200e22665b (diff)
downloadlinux-5a672beac788294f176a5d9570bde77f3c4b965f.tar.xz
hwmon: (pmbus/ibm-cffps) Fix LED blink behavior
commit 92b39ad440968bab38eb6577d63c12994601ed94 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: 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: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions