mirror of
https://github.com/commaai/agnos-kernel-sdm845.git
synced 2026-06-15 14:54:54 +08:00
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: Jeffrey Brown <jeffbrown@android.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
23 KiB
23 KiB