Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7e92bfe authored by Dmitry Torokhov's avatar Dmitry Torokhov Committed by Matt Wagantall
Browse files

Input: do not emit unneeded EV_SYN when suspending



Do not emit EV_SYN/SYN_REPORT on suspend if there were no keys that are
still pressed as we are suspending the device (and in all other cases when
input core is forcibly releasing keys via input_dev_release_keys() call).

Change-Id: Ie0aa8b14e693ad8185d8cf44baa7b75a9a9b9aff
Reviewed-by: default avatarBenson Leung <bleung@chromium.org>
Signed-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
Git-commit: 00159f19a5057cb779146afce1cceede692af346
Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git


Signed-off-by: default avatarMatt Wagantall <mattw@codeaurora.org>
parent f4497aed
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment