Re: [PATCH 2/2] leds: trigger/tty: Use led_set_brightness_sync() from workqueue
From: Pavel Machek
Date: Fri Feb 19 2021 - 04:47:46 EST
On Fri 2021-02-19 09:29:55, Uwe Kleine-König wrote:
> 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().
Acked-by: Pavel Machek <pavel@xxxxxx>
--
http://www.livejournal.com/~pavelmachek
Attachment:
signature.asc
Description: PGP signature