diff options
author | Hui Wang <hui.wang@canonical.com> | 2015-06-26 00:35:17 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-21 13:10:02 -0400 |
commit | d097fff2c1fbeef22c20f0d6a9a9ed236baabba7 (patch) | |
tree | df15db38f6d34a2d8b728aca42db3ba72d64642a | |
parent | c69c5674d87690f87e48a4267bc68e62fc605d9c (diff) |
ALSA: hda - restore the MIC FIXUP for some Dell machines
commit 831bfdf9520e389357cfeee42a6174a73ce7bdb7 upstream.
Those FIXUPs were applied to the machines through pin quirks, but
recently the PCI_QUIRK makes them can't apply to the machines.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=99851
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 9b0f1ed02cc9..5e5e40a66e92 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -4516,6 +4516,8 @@ enum { | |||
4516 | ALC288_FIXUP_DELL_HEADSET_MODE, | 4516 | ALC288_FIXUP_DELL_HEADSET_MODE, |
4517 | ALC288_FIXUP_DELL1_MIC_NO_PRESENCE, | 4517 | ALC288_FIXUP_DELL1_MIC_NO_PRESENCE, |
4518 | ALC288_FIXUP_DELL_XPS_13_GPIO6, | 4518 | ALC288_FIXUP_DELL_XPS_13_GPIO6, |
4519 | ALC288_FIXUP_DELL_XPS_13, | ||
4520 | ALC288_FIXUP_DISABLE_AAMIX, | ||
4519 | ALC292_FIXUP_DELL_E7X, | 4521 | ALC292_FIXUP_DELL_E7X, |
4520 | ALC292_FIXUP_DISABLE_AAMIX, | 4522 | ALC292_FIXUP_DISABLE_AAMIX, |
4521 | }; | 4523 | }; |
@@ -5046,9 +5048,23 @@ static const struct hda_fixup alc269_fixups[] = { | |||
5046 | .chained = true, | 5048 | .chained = true, |
5047 | .chain_id = ALC288_FIXUP_DELL1_MIC_NO_PRESENCE | 5049 | .chain_id = ALC288_FIXUP_DELL1_MIC_NO_PRESENCE |
5048 | }, | 5050 | }, |
5051 | [ALC288_FIXUP_DISABLE_AAMIX] = { | ||
5052 | .type = HDA_FIXUP_FUNC, | ||
5053 | .v.func = alc_fixup_disable_aamix, | ||
5054 | .chained = true, | ||
5055 | .chain_id = ALC288_FIXUP_DELL_XPS_13_GPIO6 | ||
5056 | }, | ||
5057 | [ALC288_FIXUP_DELL_XPS_13] = { | ||
5058 | .type = HDA_FIXUP_FUNC, | ||
5059 | .v.func = alc_fixup_dell_xps13, | ||
5060 | .chained = true, | ||
5061 | .chain_id = ALC288_FIXUP_DISABLE_AAMIX | ||
5062 | }, | ||
5049 | [ALC292_FIXUP_DISABLE_AAMIX] = { | 5063 | [ALC292_FIXUP_DISABLE_AAMIX] = { |
5050 | .type = HDA_FIXUP_FUNC, | 5064 | .type = HDA_FIXUP_FUNC, |
5051 | .v.func = alc_fixup_disable_aamix, | 5065 | .v.func = alc_fixup_disable_aamix, |
5066 | .chained = true, | ||
5067 | .chain_id = ALC269_FIXUP_DELL2_MIC_NO_PRESENCE | ||
5052 | }, | 5068 | }, |
5053 | [ALC292_FIXUP_DELL_E7X] = { | 5069 | [ALC292_FIXUP_DELL_E7X] = { |
5054 | .type = HDA_FIXUP_FUNC, | 5070 | .type = HDA_FIXUP_FUNC, |
@@ -5079,7 +5095,7 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { | |||
5079 | SND_PCI_QUIRK(0x1028, 0x0638, "Dell Inspiron 5439", ALC290_FIXUP_MONO_SPEAKERS_HSJACK), | 5095 | SND_PCI_QUIRK(0x1028, 0x0638, "Dell Inspiron 5439", ALC290_FIXUP_MONO_SPEAKERS_HSJACK), |
5080 | SND_PCI_QUIRK(0x1028, 0x064a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), | 5096 | SND_PCI_QUIRK(0x1028, 0x064a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), |
5081 | SND_PCI_QUIRK(0x1028, 0x064b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), | 5097 | SND_PCI_QUIRK(0x1028, 0x064b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), |
5082 | SND_PCI_QUIRK(0x1028, 0x0665, "Dell XPS 13", ALC292_FIXUP_DELL_E7X), | 5098 | SND_PCI_QUIRK(0x1028, 0x0665, "Dell XPS 13", ALC288_FIXUP_DELL_XPS_13), |
5083 | SND_PCI_QUIRK(0x1028, 0x06c7, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE), | 5099 | SND_PCI_QUIRK(0x1028, 0x06c7, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE), |
5084 | SND_PCI_QUIRK(0x1028, 0x06d9, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), | 5100 | SND_PCI_QUIRK(0x1028, 0x06d9, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), |
5085 | SND_PCI_QUIRK(0x1028, 0x06da, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), | 5101 | SND_PCI_QUIRK(0x1028, 0x06da, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), |