]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - queue-4.4/alsa-hda-realtek-fix-for-lenovo-b50-70-inverted-internal-microphone-bug.patch
drop drm-rockchip-shutdown-drm-subsystem-on-shutdown.patch from 4.4.y and 4.9.y
[thirdparty/kernel/stable-queue.git] / queue-4.4 / alsa-hda-realtek-fix-for-lenovo-b50-70-inverted-internal-microphone-bug.patch
1 From 56df90b631fc027fe28b70d41352d820797239bb Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Micha=C5=82=20Wadowski?= <wadosm@gmail.com>
3 Date: Tue, 14 May 2019 16:58:00 +0200
4 Subject: ALSA: hda/realtek - Fix for Lenovo B50-70 inverted internal microphone bug
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 From: Michał Wadowski <wadosm@gmail.com>
10
11 commit 56df90b631fc027fe28b70d41352d820797239bb upstream.
12
13 Add patch for realtek codec in Lenovo B50-70 that fixes inverted
14 internal microphone channel.
15 Device IdeaPad Y410P has the same PCI SSID as Lenovo B50-70,
16 but first one is about fix the noise and it didn't seem help in a
17 later kernel version.
18 So I replaced IdeaPad Y410P device description with B50-70 and apply
19 inverted microphone fix.
20
21 Bugzilla: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1524215
22 Signed-off-by: Michał Wadowski <wadosm@gmail.com>
23 Cc: <stable@vger.kernel.org>
24 Signed-off-by: Takashi Iwai <tiwai@suse.de>
25 Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
26
27 ---
28 sound/pci/hda/patch_realtek.c | 2 +-
29 1 file changed, 1 insertion(+), 1 deletion(-)
30
31 --- a/sound/pci/hda/patch_realtek.c
32 +++ b/sound/pci/hda/patch_realtek.c
33 @@ -5778,7 +5778,7 @@ static const struct snd_pci_quirk alc269
34 SND_PCI_QUIRK(0x17aa, 0x3112, "ThinkCentre AIO", ALC233_FIXUP_LENOVO_LINE2_MIC_HOTKEY),
35 SND_PCI_QUIRK(0x17aa, 0x3902, "Lenovo E50-80", ALC269_FIXUP_DMIC_THINKPAD_ACPI),
36 SND_PCI_QUIRK(0x17aa, 0x3977, "IdeaPad S210", ALC283_FIXUP_INT_MIC),
37 - SND_PCI_QUIRK(0x17aa, 0x3978, "IdeaPad Y410P", ALC269_FIXUP_NO_SHUTUP),
38 + SND_PCI_QUIRK(0x17aa, 0x3978, "Lenovo B50-70", ALC269_FIXUP_DMIC_THINKPAD_ACPI),
39 SND_PCI_QUIRK(0x17aa, 0x5013, "Thinkpad", ALC269_FIXUP_LIMIT_INT_MIC_BOOST),
40 SND_PCI_QUIRK(0x17aa, 0x501a, "Thinkpad", ALC283_FIXUP_INT_MIC),
41 SND_PCI_QUIRK(0x17aa, 0x501e, "Thinkpad L440", ALC292_FIXUP_TPT440_DOCK),