diff options
author | Eddie James <eajames@linux.ibm.com> | 2019-11-06 14:01:05 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-23 08:21:39 +0100 |
commit | fbab36985981c873aa3d21a884b52979fe56114c (patch) | |
tree | 1a0f682054f2d3b3a88378efc1e2ef2bcdfb7365 /drivers/parport | |
parent | 0b7cd89c95b9132e339912322812765f06cad9ff (diff) | |
download | linux-stable-fbab36985981c873aa3d21a884b52979fe56114c.tar.gz linux-stable-fbab36985981c873aa3d21a884b52979fe56114c.tar.bz2 linux-stable-fbab36985981c873aa3d21a884b52979fe56114c.zip |
hwmon: (pmbus/ibm-cffps) Switch LEDs to blocking brightness call
commit 9861ff954c7e83e2f738ce16fbe15f8a1e121771 upstream.
Since i2c_smbus functions can sleep, the brightness setting function
for this driver must be the blocking version to avoid scheduling while
atomic.
Signed-off-by: Eddie James <eajames@linux.ibm.com>
Link: https://lore.kernel.org/r/20191106200106.29519-2-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 'drivers/parport')
0 files changed, 0 insertions, 0 deletions