aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_sigmatel.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2013-01-18 08:28:07 -0500
committerTakashi Iwai <tiwai@suse.de>2013-01-18 08:34:30 -0500
commit49920427eca5830eb65ea1be241090e425de37cb (patch)
tree6711e203d155c1d9691c361a411bcadad83a572f /sound/pci/hda/patch_sigmatel.c
parenta90229e0517938a5c5d9d682708b6ee7cd0e19b9 (diff)
ALSA: hda/sigmatel - Add bass speaker support for HP ENVY Spectre XT
The pin configuration for the bass speaker needs to be corrected in a fixup. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r--sound/pci/hda/patch_sigmatel.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index 456ebc771313..fe3e08243d76 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -100,6 +100,7 @@ enum {
100 STAC_92HD83XXX_HP_MIC_LED, 100 STAC_92HD83XXX_HP_MIC_LED,
101 STAC_92HD83XXX_HEADSET_JACK, 101 STAC_92HD83XXX_HEADSET_JACK,
102 STAC_92HD83XXX_HP, 102 STAC_92HD83XXX_HP,
103 STAC_HP_ENVY_BASS,
103 STAC_92HD83XXX_MODELS 104 STAC_92HD83XXX_MODELS
104}; 105};
105 106
@@ -2048,6 +2049,13 @@ static const struct hda_fixup stac92hd83xxx_fixups[] = {
2048 .type = HDA_FIXUP_FUNC, 2049 .type = HDA_FIXUP_FUNC,
2049 .v.func = stac92hd83xxx_fixup_headset_jack, 2050 .v.func = stac92hd83xxx_fixup_headset_jack,
2050 }, 2051 },
2052 [STAC_HP_ENVY_BASS] = {
2053 .type = HDA_FIXUP_PINS,
2054 .v.pins = (const struct hda_pintbl[]) {
2055 { 0x0f, 0x90170111 },
2056 {}
2057 },
2058 },
2051}; 2059};
2052 2060
2053static const struct hda_model_fixup stac92hd83xxx_models[] = { 2061static const struct hda_model_fixup stac92hd83xxx_models[] = {
@@ -2062,6 +2070,7 @@ static const struct hda_model_fixup stac92hd83xxx_models[] = {
2062 { .id = STAC_92HD83XXX_HP_INV_LED, .name = "hp-inv-led" }, 2070 { .id = STAC_92HD83XXX_HP_INV_LED, .name = "hp-inv-led" },
2063 { .id = STAC_92HD83XXX_HP_MIC_LED, .name = "hp-mic-led" }, 2071 { .id = STAC_92HD83XXX_HP_MIC_LED, .name = "hp-mic-led" },
2064 { .id = STAC_92HD83XXX_HEADSET_JACK, .name = "headset-jack" }, 2072 { .id = STAC_92HD83XXX_HEADSET_JACK, .name = "headset-jack" },
2073 { .id = STAC_HP_ENVY_BASS, .name = "hp-envy-bass" },
2065 {} 2074 {}
2066}; 2075};
2067 2076
@@ -2105,6 +2114,8 @@ static const struct snd_pci_quirk stac92hd83xxx_fixup_tbl[] = {
2105 "HP", STAC_92HD83XXX_HP_cNB11_INTQUAD), 2114 "HP", STAC_92HD83XXX_HP_cNB11_INTQUAD),
2106 SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x165B, 2115 SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x165B,
2107 "HP", STAC_92HD83XXX_HP_cNB11_INTQUAD), 2116 "HP", STAC_92HD83XXX_HP_cNB11_INTQUAD),
2117 SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x1888,
2118 "HP Envy Spectre", STAC_HP_ENVY_BASS),
2108 SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x18df, 2119 SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x18df,
2109 "HP Folio", STAC_92HD83XXX_HP_MIC_LED), 2120 "HP Folio", STAC_92HD83XXX_HP_MIC_LED),
2110 SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x3388, 2121 SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x3388,