On Sat 2021-02-20 13:24:32, Hans de Goede wrote: > The lenovo_led_brightness_set function may sleep, so we should have the > the led_class_dev's brightness_set_blocking callback point to it, rather > then the regular brightness_set callback. > > When toggle through sysfs this is not a problem, but the brightness_set > callback may be called from atomic context when using LED-triggers. > > Fixes: bc04b37ea0ec ("HID: lenovo: Add ThinkPad 10 Ultrabook Keyboard support") > Signed-off-by: Hans de Goede Acked-by: Pavel Machek Pavel -- http://www.livejournal.com/~pavelmachek