[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210219094632.GB5641@duo.ucw.cz>
Date: Fri, 19 Feb 2021 10:46:32 +0100
From: Pavel Machek <pavel@....cz>
To: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
Cc: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org, linux-serial@...r.kernel.org,
linux-leds@...r.kernel.org, kernel@...gutronix.de
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@....cz>
--
http://www.livejournal.com/~pavelmachek
Download attachment "signature.asc" of type "application/pgp-signature" (196 bytes)
Powered by blists - more mailing lists