Messages in this thread | | | Date | Fri, 19 Feb 2021 10:46:32 +0100 | From | Pavel Machek <> | Subject | Re: [PATCH 2/2] leds: trigger/tty: Use led_set_brightness_sync() from workqueue |
| |
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@ucw.cz>
-- http://www.livejournal.com/~pavelmachek [unhandled content-type:application/pgp-signature] | |