commit | 9861ff954c7e83e2f738ce16fbe15f8a1e121771 | [log] [tgz] |
---|---|---|
author | Eddie James <eajames@linux.ibm.com> | Wed Nov 06 14:01:05 2019 -0600 |
committer | Guenter Roeck <linux@roeck-us.net> | Wed Nov 06 14:34:06 2019 -0800 |
tree | 154d04335ccd90b2cb4508a70c3560ed0ea0c26c | |
parent | a99d8080aaf358d5d23581244e5da23b35e340b9 [diff] |
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>