]> git.baikalelectronics.ru Git - kernel.git/commit
Input: small tweak to autorepeat handling
authorAnshul Garg <aksgarg1989@gmail.com>
Thu, 8 Jan 2015 21:41:24 +0000 (13:41 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 8 Jan 2015 21:53:30 +0000 (13:53 -0800)
commitab556c21a0857b789df79a1bc70edf179a097302
tree639fb4778d8cb9d917a6061a4587c7234b0adf9b
parentb9d48639569fdf941f3915eb27c26270d59c24f1
Input: small tweak to autorepeat handling

If a device does not support autorepeat or does not emit any key events we
should not be scanning all events in a packet to decide if we should start
or stop autorepeat function.

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