aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/input
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2011-06-18 02:50:11 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2011-06-18 02:54:02 -0700
commitda40b0b6b4d3a81c5051fe6ae0544c48c13261c4 (patch)
treec54325034ac30742fa6d0a82bc49a5396e8e66f2 /include/linux/input
parentInput: properly assign return value of clamp() macro. (diff)
downloadlinux-dev-da40b0b6b4d3a81c5051fe6ae0544c48c13261c4.tar.xz
linux-dev-da40b0b6b4d3a81c5051fe6ae0544c48c13261c4.zip
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: Jeffrey Brown <jeffbrown@android.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'include/linux/input')
0 files changed, 0 insertions, 0 deletions