[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200818115906.GA26874@latitude>
Date: Tue, 18 Aug 2020 13:59:06 +0200
From: Johannes Hirte <johannes.hirte@...enkhaos.de>
To: Dmitry Torokhov <dmitry.torokhov@...il.com>
Cc: Jiri Kosina <jikos@...nel.org>,
Benjamin Tissoires <benjamin.tissoires@...hat.com>,
groeck@...omium.org, Nicolas Boichat <drinkcat@...omium.org>,
linux-usb@...r.kernel.org, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] HID: usbhid: do not sleep when opening device
On 2020 Jun 09, Dmitry Torokhov wrote:
> usbhid tries to give the device 50 milliseconds to drain its queues when
> opening the device, but dies it naively by simply sleeping in open handler,
> which slows down device probing (and thus may affect overall boot time).
>
> However we do not need to sleep as we can instead mark a point of time in
> the future when we should start processing the events.
>
> Reported-by: Nicolas Boichat <drinkcat@...omium.org>
> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@...il.com>
> ---
>
This change breaks various Logitech devices:
https://bugzilla.kernel.org/show_bug.cgi?id=208935
--
Regards,
Johannes Hirte
Powered by blists - more mailing lists