]> git.baikalelectronics.ru Git - kernel.git/commit
Input: fix stale timestamp on key autorepeat events
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 25 Mar 2020 17:57:54 +0000 (10:57 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 27 Mar 2020 00:05:08 +0000 (17:05 -0700)
commit478dab391a00cc06534caacbf432852cb1802c39
treea37b12ee31be431e14cbde00b8d77416c1a7d67b
parente90cf49ff841a0fc706ccb4a670e1e4205bb6783
Input: fix stale timestamp on key autorepeat events

We need to refresh timestamp when emitting key autorepeat events, otherwise
they will carry timestamp of the original key press event.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=206929
Fixes: 353bc6f2724d ("Input: allow drivers specify timestamp for input events")
Cc: stable@vger.kernel.org
Reported-by: teika kazura <teika@gmx.com>
Tested-by: teika kazura <teika@gmx.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/input.c