summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2021-04-04 11:04:24 +0300
committerJiri Kosina <jkosina@suse.cz>2021-04-07 13:48:19 +0300
commitbbf62645255f120bc2e7488c237e3f04da42ec70 (patch)
tree05a9cc3431f538730a998e533af237c0e69be82e /scripts/gdb/linux/tasks.py
parent69aea9d2843669387d100e353b5113d1adc9502f (diff)
downloadlinux-bbf62645255f120bc2e7488c237e3f04da42ec70.tar.xz
HID: lenovo: Use brightness_set_blocking callback for setting LEDs brightness
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 toggled 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") Reviewed-by: Marek BehĂșn <kabel@kernel.org> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions