[SRU][A/B/OEM-A][PATCH] Enable mic-mute hotkey and led for Lenovo M810z, M820z and M920z

Hui Wang hui.wang at canonical.com
Thu May 31 02:27:06 UTC 2018


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

Because of patch conflicting, I sent two patches in this thread:
1st one is for artful and oem-artful kernel: [SRU][A/OEM-A][PATCH] ALSA: hda/realtek...
2nd one is for bionic kernel: [SRU][B][PATCH] ALSA: hda/realtek...

[Impact]
M810z, M820z and M920z are Lenovo AIO machines, there is a mic-mute button with
led on them, without this patch, the hotkey and led only works on M810z, if we
want 820z and 920z to work, we need to add their subsystem id in the driver, but
since they use same codec with same pin conf, we use a better way than adding id.

[Fix]
With this patch, all 3 machines applied ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY.

[Test Case]
press mic-mute button, then check sound-setting, we found the input will mute or
unmute as users press button, and led will on or off to indicate the input status.

[Regression Potential]
Very low, through the strictly match the pin conf, codec id and vendor id, this
fix only apply to M810z, M820z and M920z.

Hui Wang (1):
  ALSA: hda/realtek - Enable mic-mute hotkey for several Lenovo AIOs

 sound/pci/hda/patch_realtek.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

-- 
2.7.4





More information about the kernel-team mailing list