]> git.baikalelectronics.ru Git - kernel.git/commit
Input: vsxxxaa - fix code dropping bytes from queue
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 24 Oct 2014 22:33:53 +0000 (15:33 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 28 Oct 2014 17:33:48 +0000 (10:33 -0700)
commita9265439d7c1603d6c006b8a9515e9a93c47cbc3
treee065d2d74809cde4aead470707cb448f8f89e683
parentd5d55f018b4d0744b14e327ea16b9370cef04e50
Input: vsxxxaa - fix code dropping bytes from queue

I believe the intent of the code was to drop oldest bytes from the queue,
not the latest if we drop one byte and both latest and some oldest of we
are dropping more than one.

Acked-by: Jan-Benedict Glaw <jbglaw@lug-owl.de>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/vsxxxaa.c