- patches.drivers/alsa-sp3-pre-693-Apply-mic-mute-LED-fixup-for-new-HP-laptops:
[opensuse:kernel-source.git] / patches.drivers / alsa-sp3-pre-693-Apply-mic-mute-LED-fixup-for-new-HP-laptops
1 From f9afed1f7fcadcad2b91f79aa81adf9456864117 Mon Sep 17 00:00:00 2001
2 From: Takashi Iwai <tiwai@suse.de>
3 Date: Wed, 6 Feb 2013 12:39:06 +0100
4 Subject: [PATCH] ALSA: hda - Apply mic-mute LED fixup for new HP laptops
5 Git-commit: f9afed1f7fcadcad2b91f79aa81adf9456864117
6 Patch-mainline: Submitted, to be in v3.9-rc1
7 Git-repo: git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound.git
8 References: bnc#796418
9
10 It's mostly harmless to apply it for new models even if they have no
11 mic mute LED (just toggling an unused GPIO pin).
12
13 Signed-off-by: Takashi Iwai <tiwai@suse.de>
14
15 ---
16  sound/pci/hda/patch_sigmatel.c |    2 ++
17  1 file changed, 2 insertions(+)
18
19 --- a/sound/pci/hda/patch_sigmatel.c
20 +++ b/sound/pci/hda/patch_sigmatel.c
21 @@ -1731,6 +1731,8 @@ static const struct snd_pci_quirk stac92
22                           "HP", STAC_92HD83XXX_HP_cNB11_INTQUAD),
23         SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x18df,
24                           "HP Folio", STAC_92HD83XXX_HP_MIC_LED),
25 +       SND_PCI_QUIRK_MASK(PCI_VENDOR_ID_HP, 0xff00, 0x1900,
26 +                         "HP", STAC_92HD83XXX_HP_MIC_LED),
27         SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x3388,
28                           "HP", STAC_92HD83XXX_HP_cNB11_INTQUAD),
29         SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x3389,