diff options
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 7311badf6a94..a2f11bf8155c 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -83,6 +83,7 @@ enum { | |||
83 | STAC_DELL_M6_BOTH, | 83 | STAC_DELL_M6_BOTH, |
84 | STAC_DELL_EQ, | 84 | STAC_DELL_EQ, |
85 | STAC_ALIENWARE_M17X, | 85 | STAC_ALIENWARE_M17X, |
86 | STAC_92HD89XX_HP_FRONT_JACK, | ||
86 | STAC_92HD73XX_MODELS | 87 | STAC_92HD73XX_MODELS |
87 | }; | 88 | }; |
88 | 89 | ||
@@ -1795,6 +1796,12 @@ static const struct hda_pintbl intel_dg45id_pin_configs[] = { | |||
1795 | {} | 1796 | {} |
1796 | }; | 1797 | }; |
1797 | 1798 | ||
1799 | static const struct hda_pintbl stac92hd89xx_hp_front_jack_pin_configs[] = { | ||
1800 | { 0x0a, 0x02214030 }, | ||
1801 | { 0x0b, 0x02A19010 }, | ||
1802 | {} | ||
1803 | }; | ||
1804 | |||
1798 | static void stac92hd73xx_fixup_ref(struct hda_codec *codec, | 1805 | static void stac92hd73xx_fixup_ref(struct hda_codec *codec, |
1799 | const struct hda_fixup *fix, int action) | 1806 | const struct hda_fixup *fix, int action) |
1800 | { | 1807 | { |
@@ -1913,6 +1920,10 @@ static const struct hda_fixup stac92hd73xx_fixups[] = { | |||
1913 | [STAC_92HD73XX_NO_JD] = { | 1920 | [STAC_92HD73XX_NO_JD] = { |
1914 | .type = HDA_FIXUP_FUNC, | 1921 | .type = HDA_FIXUP_FUNC, |
1915 | .v.func = stac92hd73xx_fixup_no_jd, | 1922 | .v.func = stac92hd73xx_fixup_no_jd, |
1923 | }, | ||
1924 | [STAC_92HD89XX_HP_FRONT_JACK] = { | ||
1925 | .type = HDA_FIXUP_PINS, | ||
1926 | .v.pins = stac92hd89xx_hp_front_jack_pin_configs, | ||
1916 | } | 1927 | } |
1917 | }; | 1928 | }; |
1918 | 1929 | ||
@@ -1973,6 +1984,8 @@ static const struct snd_pci_quirk stac92hd73xx_fixup_tbl[] = { | |||
1973 | "Alienware M17x", STAC_ALIENWARE_M17X), | 1984 | "Alienware M17x", STAC_ALIENWARE_M17X), |
1974 | SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x0490, | 1985 | SND_PCI_QUIRK(PCI_VENDOR_ID_DELL, 0x0490, |
1975 | "Alienware M17x R3", STAC_DELL_EQ), | 1986 | "Alienware M17x R3", STAC_DELL_EQ), |
1987 | SND_PCI_QUIRK(PCI_VENDOR_ID_HP, 0x2b17, | ||
1988 | "unknown HP", STAC_92HD89XX_HP_FRONT_JACK), | ||
1976 | {} /* terminator */ | 1989 | {} /* terminator */ |
1977 | }; | 1990 | }; |
1978 | 1991 | ||