aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-07-04 09:14:17 -0400
committerTakashi Iwai <tiwai@suse.de>2013-07-04 09:14:17 -0400
commitf404627d27b27d79287dee7c6dba934790959ee3 (patch)
tree097b1ecfefe1610eac1d26706d2505dd93c4b61c /sound/pci
parent6a699bec88d5755c0f1be4e967649b3cfeac0205 (diff)
ALSA: hda - Add fixup for HP TouchSmart with AD1984A codec
Ported from the static quirk. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/patch_analog.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c
index 0262ffb96538..a667256984fd 100644
--- a/sound/pci/hda/patch_analog.c
+++ b/sound/pci/hda/patch_analog.c
@@ -3648,6 +3648,7 @@ enum {
3648 AD1884_FIXUP_AMP_OVERRIDE, 3648 AD1884_FIXUP_AMP_OVERRIDE,
3649 AD1884_FIXUP_HP_EAPD, 3649 AD1884_FIXUP_HP_EAPD,
3650 AD1884_FIXUP_DMIC_COEF, 3650 AD1884_FIXUP_DMIC_COEF,
3651 AD1884_FIXUP_HP_TOUCHSMART,
3651}; 3652};
3652 3653
3653static const struct hda_fixup ad1884_fixups[] = { 3654static const struct hda_fixup ad1884_fixups[] = {
@@ -3665,9 +3666,16 @@ static const struct hda_fixup ad1884_fixups[] = {
3665 .type = HDA_FIXUP_VERBS, 3666 .type = HDA_FIXUP_VERBS,
3666 .v.verbs = ad1884_dmic_init_verbs, 3667 .v.verbs = ad1884_dmic_init_verbs,
3667 }, 3668 },
3669 [AD1884_FIXUP_HP_TOUCHSMART] = {
3670 .type = HDA_FIXUP_VERBS,
3671 .v.verbs = ad1884_dmic_init_verbs,
3672 .chained = true,
3673 .chain_id = AD1884_FIXUP_HP_EAPD,
3674 },
3668}; 3675};
3669 3676
3670static const struct snd_pci_quirk ad1884_fixup_tbl[] = { 3677static const struct snd_pci_quirk ad1884_fixup_tbl[] = {
3678 SND_PCI_QUIRK(0x103c, 0x2a82, "HP Touchsmart", AD1884_FIXUP_HP_TOUCHSMART),
3671 SND_PCI_QUIRK_VENDOR(0x103c, "HP", AD1884_FIXUP_HP_EAPD), 3679 SND_PCI_QUIRK_VENDOR(0x103c, "HP", AD1884_FIXUP_HP_EAPD),
3672 SND_PCI_QUIRK_VENDOR(0x17aa, "Lenovo Thinkpad", AD1884_FIXUP_DMIC_COEF), 3680 SND_PCI_QUIRK_VENDOR(0x17aa, "Lenovo Thinkpad", AD1884_FIXUP_DMIC_COEF),
3673 {} 3681 {}