diff options
author | Eddie James <eajames@linux.ibm.com> | 2019-11-06 14:01:05 -0600 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2019-11-06 14:34:06 -0800 |
commit | 9861ff954c7e83e2f738ce16fbe15f8a1e121771 (patch) | |
tree | 154d04335ccd90b2cb4508a70c3560ed0ea0c26c /drivers/hwmon/powr1220.c | |
parent | a99d8080aaf358d5d23581244e5da23b35e340b9 (diff) | |
download | linux-9861ff954c7e83e2f738ce16fbe15f8a1e121771.tar.gz linux-9861ff954c7e83e2f738ce16fbe15f8a1e121771.tar.bz2 linux-9861ff954c7e83e2f738ce16fbe15f8a1e121771.zip |
hwmon: (pmbus/ibm-cffps) Switch LEDs to blocking brightness call
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>
Diffstat (limited to 'drivers/hwmon/powr1220.c')
0 files changed, 0 insertions, 0 deletions