]> git.baikalelectronics.ru Git - kernel.git/commit
Input: evdev - flush pending events on clock type change
authorAnshul Garg <aksgarg1989@gmail.com>
Thu, 15 Jan 2015 17:06:50 +0000 (09:06 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 15 Jan 2015 17:37:18 +0000 (09:37 -0800)
commit44bf9d2d25373c58115f2663f76a1a2470b12e35
treeea08036a9336f06266a0abcdb4a36d4c35ae8675
parentd688c0605e36e66859192e359adac7e6ad18c3ec
Input: evdev - flush pending events on clock type change

When client changes the type of clock used for the time stamps in input
events flush pending events from the client's queue (since client would not
know which events have old time stamps and which ones have new ones) and
and queue SYN_DROPPED event.

Signed-off-by: Anshul Garg <anshul.g@samsung.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/evdev.c