Skip to content
Commit 48394019 authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by Greg Kroah-Hartman
Browse files

Input: fix stale timestamp on key autorepeat events

commit 4134252a upstream.

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: 3b51c44b

 ("Input: allow drivers specify timestamp for input events")
Cc: stable@vger.kernel.org
Reported-by: default avatarteika kazura <teika@gmx.com>
Tested-by: default avatarteika kazura <teika@gmx.com>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent dcd94e14
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment