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

Commit 8006bcb9 authored by Walter Yang's avatar Walter Yang Committed by Matt Wagantall
Browse files

ASoC: wcd: avoid the fake button release of headset hook



When we long press the headset hook key and then the system
resumes from suspend mode, it will report the release event
immediately from the input system level which we call a fake
release. It will mislead the userspace layer to make the
incorrect decision on the long or short press.
So we set the INPUT_PROP_NO_DUMMY_RELEASE in property bit of the
Button Jack to avoid this fake release.

Change-Id: I485e01c0d1e10b41a203247b86e9fc5a2fa63179
Signed-off-by: default avatarWalter Yang <yandongy@codeaurora.org>
parent 68f85ecd
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