diff options
author | Hui Wang <hui.wang@canonical.com> | 2014-06-05 22:50:24 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2014-06-06 01:56:41 -0400 |
commit | 560b92779cb8748fbf01436b19b1269b6193819b (patch) | |
tree | 5fd82c64bb9dfdbbe596ee56c0b6cad11bffa65c /sound | |
parent | b6c5fbad16aa5026f508093a8d651c25e1cb6179 (diff) |
ALSA: hda - add two new pin tables
These two new pin tables can fix headset mic problems for several
new Dell machines.
And also delete some machines from old quirk table since the existing
pin talbes already cover them.
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 47 |
1 files changed, 41 insertions, 6 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 246826f74800..2d698c0f6764 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -4741,18 +4741,12 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { | |||
4741 | SND_PCI_QUIRK(0x1028, 0x0614, "Dell Inspiron 3135", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE), | 4741 | SND_PCI_QUIRK(0x1028, 0x0614, "Dell Inspiron 3135", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE), |
4742 | SND_PCI_QUIRK(0x1028, 0x0615, "Dell Vostro 5470", ALC290_FIXUP_SUBWOOFER_HSJACK), | 4742 | SND_PCI_QUIRK(0x1028, 0x0615, "Dell Vostro 5470", ALC290_FIXUP_SUBWOOFER_HSJACK), |
4743 | SND_PCI_QUIRK(0x1028, 0x0616, "Dell Vostro 5470", ALC290_FIXUP_SUBWOOFER_HSJACK), | 4743 | SND_PCI_QUIRK(0x1028, 0x0616, "Dell Vostro 5470", ALC290_FIXUP_SUBWOOFER_HSJACK), |
4744 | SND_PCI_QUIRK(0x1028, 0x062c, "Dell", ALC269_FIXUP_DELL1_MIC_NO_PRESENCE), | ||
4745 | SND_PCI_QUIRK(0x1028, 0x0638, "Dell Inspiron 5439", ALC290_FIXUP_MONO_SPEAKERS_HSJACK), | 4744 | SND_PCI_QUIRK(0x1028, 0x0638, "Dell Inspiron 5439", ALC290_FIXUP_MONO_SPEAKERS_HSJACK), |
4746 | SND_PCI_QUIRK(0x1028, 0x063f, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE), | 4745 | SND_PCI_QUIRK(0x1028, 0x063f, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE), |
4747 | SND_PCI_QUIRK(0x1028, 0x064a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), | 4746 | SND_PCI_QUIRK(0x1028, 0x064a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), |
4748 | SND_PCI_QUIRK(0x1028, 0x064b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), | 4747 | SND_PCI_QUIRK(0x1028, 0x064b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), |
4749 | SND_PCI_QUIRK(0x1028, 0x064d, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE), | ||
4750 | SND_PCI_QUIRK(0x1028, 0x0668, "Dell", ALC255_FIXUP_DELL2_MIC_NO_PRESENCE), | 4748 | SND_PCI_QUIRK(0x1028, 0x0668, "Dell", ALC255_FIXUP_DELL2_MIC_NO_PRESENCE), |
4751 | SND_PCI_QUIRK(0x1028, 0x0669, "Dell", ALC255_FIXUP_DELL2_MIC_NO_PRESENCE), | 4749 | SND_PCI_QUIRK(0x1028, 0x0669, "Dell", ALC255_FIXUP_DELL2_MIC_NO_PRESENCE), |
4752 | SND_PCI_QUIRK(0x1028, 0x0674, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE), | ||
4753 | SND_PCI_QUIRK(0x1028, 0x067e, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE), | ||
4754 | SND_PCI_QUIRK(0x1028, 0x067f, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE), | ||
4755 | SND_PCI_QUIRK(0x1028, 0x0680, "Dell", ALC255_FIXUP_DELL1_MIC_NO_PRESENCE), | ||
4756 | SND_PCI_QUIRK(0x1028, 0x0684, "Dell", ALC269_FIXUP_DELL2_MIC_NO_PRESENCE), | 4750 | SND_PCI_QUIRK(0x1028, 0x0684, "Dell", ALC269_FIXUP_DELL2_MIC_NO_PRESENCE), |
4757 | SND_PCI_QUIRK(0x1028, 0x15cc, "Dell X5 Precision", ALC269_FIXUP_DELL2_MIC_NO_PRESENCE), | 4751 | SND_PCI_QUIRK(0x1028, 0x15cc, "Dell X5 Precision", ALC269_FIXUP_DELL2_MIC_NO_PRESENCE), |
4758 | SND_PCI_QUIRK(0x1028, 0x15cd, "Dell X5 Precision", ALC269_FIXUP_DELL2_MIC_NO_PRESENCE), | 4752 | SND_PCI_QUIRK(0x1028, 0x15cd, "Dell X5 Precision", ALC269_FIXUP_DELL2_MIC_NO_PRESENCE), |
@@ -4977,6 +4971,26 @@ static const struct snd_hda_pin_quirk alc269_pin_fixup_tbl[] = { | |||
4977 | #endif | 4971 | #endif |
4978 | .pins = (const struct hda_pintbl[]) { | 4972 | .pins = (const struct hda_pintbl[]) { |
4979 | {0x12, 0x90a60160}, | 4973 | {0x12, 0x90a60160}, |
4974 | {0x14, 0x90170120}, | ||
4975 | {0x17, 0x90170140}, | ||
4976 | {0x18, 0x40000000}, | ||
4977 | {0x19, 0x411111f0}, | ||
4978 | {0x1a, 0x411111f0}, | ||
4979 | {0x1b, 0x411111f0}, | ||
4980 | {0x1d, 0x41163b05}, | ||
4981 | {0x1e, 0x411111f0}, | ||
4982 | {0x21, 0x0321102f}, | ||
4983 | }, | ||
4984 | .value = ALC255_FIXUP_DELL1_MIC_NO_PRESENCE, | ||
4985 | }, | ||
4986 | { | ||
4987 | .codec = 0x10ec0255, | ||
4988 | .subvendor = 0x1028, | ||
4989 | #ifdef CONFIG_SND_DEBUG_VERBOSE | ||
4990 | .name = "Dell", | ||
4991 | #endif | ||
4992 | .pins = (const struct hda_pintbl[]) { | ||
4993 | {0x12, 0x90a60160}, | ||
4980 | {0x14, 0x90170130}, | 4994 | {0x14, 0x90170130}, |
4981 | {0x17, 0x40000000}, | 4995 | {0x17, 0x40000000}, |
4982 | {0x18, 0x411111f0}, | 4996 | {0x18, 0x411111f0}, |
@@ -6014,6 +6028,27 @@ static const struct snd_hda_pin_quirk alc662_pin_fixup_tbl[] = { | |||
6014 | .name = "Dell", | 6028 | .name = "Dell", |
6015 | #endif | 6029 | #endif |
6016 | .pins = (const struct hda_pintbl[]) { | 6030 | .pins = (const struct hda_pintbl[]) { |
6031 | {0x12, 0x99a30140}, | ||
6032 | {0x14, 0x90170110}, | ||
6033 | {0x15, 0x0321101f}, | ||
6034 | {0x16, 0x03011020}, | ||
6035 | {0x18, 0x40000008}, | ||
6036 | {0x19, 0x411111f0}, | ||
6037 | {0x1a, 0x411111f0}, | ||
6038 | {0x1b, 0x411111f0}, | ||
6039 | {0x1d, 0x41000001}, | ||
6040 | {0x1e, 0x411111f0}, | ||
6041 | {0x1f, 0x411111f0}, | ||
6042 | }, | ||
6043 | .value = ALC668_FIXUP_AUTO_MUTE, | ||
6044 | }, | ||
6045 | { | ||
6046 | .codec = 0x10ec0668, | ||
6047 | .subvendor = 0x1028, | ||
6048 | #ifdef CONFIG_SND_DEBUG_VERBOSE | ||
6049 | .name = "Dell", | ||
6050 | #endif | ||
6051 | .pins = (const struct hda_pintbl[]) { | ||
6017 | {0x12, 0x99a30150}, | 6052 | {0x12, 0x99a30150}, |
6018 | {0x14, 0x90170110}, | 6053 | {0x14, 0x90170110}, |
6019 | {0x15, 0x0321101f}, | 6054 | {0x15, 0x0321101f}, |