]> 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)
commit073b2737e7aa6411f882a0635bd03f5667ada0e0
treeea08036a9336f06266a0abcdb4a36d4c35ae8675
parent5b6bcafe61148f54e04cfbbd09d762f3de8aa7b3
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