aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorUwe Kleine-König <[email protected]>2021-02-19 13:33:07 +0000
committerGreg Kroah-Hartman <[email protected]>2021-03-10 08:27:56 +0000
commitba8a86e4dadb332c41454f02e27d28321e0f03d5 (patch)
tree84378a70da6eb1f69a2cec462d90166651538bc1 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parentleds: trigger: Fix error path to not unlock the unlocked mutex (diff)
downloadkernel-ba8a86e4dadb332c41454f02e27d28321e0f03d5.tar.gz
kernel-ba8a86e4dadb332c41454f02e27d28321e0f03d5.zip
leds: trigger/tty: Use led_set_brightness_sync() from workqueue
led_set_brightness() involves scheduling a workqueue. As here the led's brightness setting is done in context of the trigger's workqueue this is unjustified overhead and it's more sensible to use led_set_brightness_sync(). Fixes: fd4a641ac88f ("leds: trigger: implement a tty trigger") Reported-by: Pavel Machek <[email protected]> Acked-by: Pavel Machek <[email protected]> Signed-off-by: Uwe Kleine-König <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions