Skip to content
Commit a3ce6ea4 authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

Input: libps2 - better handle bad scheduler decisions



Sometimes devices send us their responses in time but due to
unfortunate scheduling decisions the receiving thread does not
get scheduled till much later and we erroneously decide that
device timed out. Work around this problem by checking whether we
received the data we needed instead of checking timeout
condition.

Tested-by: default avatarSitsofe Wheeler <sitsofe@yahoo.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 346a850e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment