[SRU][A/OEM-A][PATCH] ALSA: hda/realtek - Enable mic-mute hotkey for several Lenovo AIOs

Po-Hsu Lin po-hsu.lin at canonical.com
Tue Jun 5 05:09:05 UTC 2018


On Thu, May 31, 2018 at 10:27 AM, Hui Wang <hui.wang at canonical.com> wrote:
> BugLink: https://bugs.launchpad.net/bugs/1774306
>
> We have several Lenovo AIOs like M810z, M820z and M920z, they have
> the same design for mic-mute hotkey and led and they use the same
> codec with the same pin configuration, so use the pin conf table to
> apply fix to all of them.
>
> Fixes: 29693efcea0f ("ALSA: hda - Fix micmute hotkey problem for a lenovo AIO machine")
> Cc: <stable at vger.kernel.org>
> Signed-off-by: Hui Wang <hui.wang at canonical.com>
> Signed-off-by: Takashi Iwai <tiwai at suse.de>
> (cherry picked from commit 986376b68dcc95bb7df60ad30c2353c1f7578fa5
> git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git)

This one looks like a backported patch to me.

> Signed-off-by: Hui Wang <hui.wang at canonical.com>
> ---
>  sound/pci/hda/patch_realtek.c | 6 +++++-
>  1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
> index 6a1f5ae..6082cdf 100644
> --- a/sound/pci/hda/patch_realtek.c
> +++ b/sound/pci/hda/patch_realtek.c
> @@ -6445,7 +6445,6 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = {
>         SND_PCI_QUIRK(0x17aa, 0x310c, "ThinkCentre Station", ALC294_FIXUP_LENOVO_MIC_LOCATION),
>         SND_PCI_QUIRK(0x17aa, 0x3138, "ThinkCentre Station", ALC294_FIXUP_LENOVO_MIC_LOCATION),
>         SND_PCI_QUIRK(0x17aa, 0x313c, "ThinkCentre Station", ALC294_FIXUP_LENOVO_MIC_LOCATION),
> -       SND_PCI_QUIRK(0x17aa, 0x3112, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY),
>         SND_PCI_QUIRK(0x17aa, 0x3902, "Lenovo E50-80", ALC269_FIXUP_DMIC_THINKPAD_ACPI),
>         SND_PCI_QUIRK(0x17aa, 0x3977, "IdeaPad S210", ALC283_FIXUP_INT_MIC),
>         SND_PCI_QUIRK(0x17aa, 0x3978, "IdeaPad Y410P", ALC269_FIXUP_NO_SHUTUP),
> @@ -6607,6 +6606,11 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = {
>                 ALC225_STANDARD_PINS,
>                 {0x12, 0xb7a60130},
>                 {0x1b, 0x90170110}),
> +       SND_HDA_PIN_QUIRK(0x10ec0235, 0x17aa, "Lenovo", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY,
> +               {0x12, 0x90a60140},
> +               {0x14, 0x90170110},
> +               {0x19, 0x02a11030},
> +               {0x21, 0x02211020}),
>         SND_HDA_PIN_QUIRK(0x10ec0236, 0x1028, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE,
>                 {0x12, 0x90a60140},
>                 {0x14, 0x90170110},
> --
> 2.7.4
>
>
> --
> kernel-team mailing list
> kernel-team at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/kernel-team




More information about the kernel-team mailing list