[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAGngYiWX5CzRnjZ1O4gMe-Zmc=G90ccLDGS6gwiw-c7ppjgQ0g@mail.gmail.com>
Date: Sun, 10 Feb 2019 18:47:11 -0500
From: Sven Van Asbroeck <thesven73@...il.com>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: linux-input@...r.kernel.org,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] Input: qt2160 - switch to using brightness_set_blocking()
On Sat, Feb 9, 2019 at 12:21 PM Dmitry Torokhov
<dmitry.torokhov@...il.com> wrote:
>
> Now that LEDs core allows "blocking" flavor of "set brightness" method we
> can use it and get rid of private work items.
>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@...il.com>
Looking good !
Reviewed-by: Sven Van Asbroeck <TheSven73@...il.com>
Good job to get rid of that led_lock mutex. It didn't serve any purpose
but more importantly, it could introduce a sleep in brightness_set,
which cannot sleep...
Powered by blists - more mailing lists