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)
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

Simple merge