Skip to content
Snippets Groups Projects
Commit da40b0b6 authored by Dmitry Torokhov's avatar Dmitry Torokhov
Browse files

Input: evdev - try to wake up readers only if we have full packet


We should only wake waiters on the event device when we actually post
an EV_SYN/SYN_REPORT to the queue. Otherwise we end up making waiting
threads runnable only to go right back to sleep because the device
still isn't readable.

Reported-by: default avatarJeffrey Brown <jeffbrown@android.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 8c127f07
No related branches found
No related tags found
No related merge requests found
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