[SRU][F/OEM-F/unstable][PATCH 0/1] a fake headset key event will be triggered when plugging the headset on Lenovo x1c7

Hui Wang hui.wang at canonical.com
Tue Apr 14 03:31:21 UTC 2020

BugLink: https://bugs.launchpad.net/bugs/1872583

When users plug a headset into the audio jack on Lenovo x1c7, the
audio driver can't stay in the rt_suspend state anymore

don't let the driver trigger the fake key event

[Test Case]
boot the kenrel, enable the dyndbg on the codec driver,
plug/unplug the headset, check the runime pm status in the dmesg

[Regression Risk]
Low, I have tested this patch Lenovo machines, they all worked well.

Hui Wang (1):
  ALSA: hda/realtek - a fake key event is triggered by running shutup

 sound/pci/hda/patch_realtek.c | 170 +++++++++++++++++++++-------------
 1 file changed, 107 insertions(+), 63 deletions(-)


More information about the kernel-team mailing list