diff options
author | Jeremy Cline <jcline@redhat.com> | 2018-10-12 09:47:08 -0400 |
---|---|---|
committer | Jeremy Cline <jcline@redhat.com> | 2018-10-12 09:53:18 -0400 |
commit | 85775ab887413abbd928a153841bda5b0237175b (patch) | |
tree | b4376626c2143d391cb0d36203eec107c06cbe71 | |
parent | c9ba412f7c966a54c6bbda26c80b78917f43e3ba (diff) | |
download | kernel-85775ab887413abbd928a153841bda5b0237175b.tar.gz kernel-85775ab887413abbd928a153841bda5b0237175b.tar.xz kernel-85775ab887413abbd928a153841bda5b0237175b.zip |
Fix the microphone on Lenovo G50-30s (rhbz 1249364)
-rw-r--r-- | ALSA-hda-Add-mic-quirk-for-the-Lenovo-G50-30-17aa-39.patch | 32 | ||||
-rw-r--r-- | kernel.spec | 6 |
2 files changed, 38 insertions, 0 deletions
diff --git a/ALSA-hda-Add-mic-quirk-for-the-Lenovo-G50-30-17aa-39.patch b/ALSA-hda-Add-mic-quirk-for-the-Lenovo-G50-30-17aa-39.patch new file mode 100644 index 000000000..c64ab0e92 --- /dev/null +++ b/ALSA-hda-Add-mic-quirk-for-the-Lenovo-G50-30-17aa-39.patch @@ -0,0 +1,32 @@ +From 44002a8818bc64f53d855bc8e3ee4c6bb2d3db99 Mon Sep 17 00:00:00 2001 +From: Jeremy Cline <jcline@redhat.com> +Date: Mon, 8 Oct 2018 14:37:52 -0400 +Subject: [PATCH] ALSA: hda - Add mic quirk for the Lenovo G50-30 (17aa:3905) + +The Lenovo G50-30, like other G50 models, has a Conexant codec that +requires a quirk for its inverted stereo dmic. + +Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1249364 +Reported-by: Alexander Ploumistos <alex.ploumistos@gmail.com> +Tested-by: Alexander Ploumistos <alex.ploumistos@gmail.com> +Cc: stable@vger.kernel.org +Signed-off-by: Jeremy Cline <jcline@redhat.com> +--- + sound/pci/hda/patch_conexant.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c +index 5592557fe50e..950e02e71766 100644 +--- a/sound/pci/hda/patch_conexant.c ++++ b/sound/pci/hda/patch_conexant.c +@@ -943,6 +943,7 @@ static const struct snd_pci_quirk cxt5066_fixups[] = { + SND_PCI_QUIRK(0x17aa, 0x21da, "Lenovo X220", CXT_PINCFG_LENOVO_TP410), + SND_PCI_QUIRK(0x17aa, 0x21db, "Lenovo X220-tablet", CXT_PINCFG_LENOVO_TP410), + SND_PCI_QUIRK(0x17aa, 0x38af, "Lenovo IdeaPad Z560", CXT_FIXUP_MUTE_LED_EAPD), ++ SND_PCI_QUIRK(0x17aa, 0x3905, "Lenovo G50-30", CXT_FIXUP_STEREO_DMIC), + SND_PCI_QUIRK(0x17aa, 0x390b, "Lenovo G50-80", CXT_FIXUP_STEREO_DMIC), + SND_PCI_QUIRK(0x17aa, 0x3975, "Lenovo U300s", CXT_FIXUP_STEREO_DMIC), + SND_PCI_QUIRK(0x17aa, 0x3977, "Lenovo IdeaPad U310", CXT_FIXUP_STEREO_DMIC), +-- +2.19.1 + diff --git a/kernel.spec b/kernel.spec index e2680d90a..48bc93b8c 100644 --- a/kernel.spec +++ b/kernel.spec @@ -674,6 +674,9 @@ Patch531: xsa270.patch Patch533: 0001-random-add-a-config-option-to-trust-the-CPU-s-hwrng.patch Patch534: 0001-random-make-CPU-trust-a-boot-parameter.patch +# rhbz 1249364, patch accepted upstream and CCed for stable +Patch535: ALSA-hda-Add-mic-quirk-for-the-Lenovo-G50-30-17aa-39.patch + # END OF PATCH DEFINITIONS %endif @@ -1933,6 +1936,9 @@ fi # # %changelog +* Fri Oct 12 2018 Jeremy Cline <jeremy@jcline.org> +- Fix the microphone on Lenovo G50-30s (rhbz 1249364) + * Wed Oct 10 2018 Laura Abbott <labbott@redhat.com> - 4.18.13-300 - Linux v4.18.13 |