diff options
author | Takashi Iwai <tiwai@suse.de> | 2015-06-27 04:21:13 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-07-21 13:10:02 -0400 |
commit | 4b461d112cdbca4183f4b2f0d67a081a650269ab (patch) | |
tree | 871826b32e641bea52e75fc17a665abd0372e0ae /sound/pci/hda | |
parent | d097fff2c1fbeef22c20f0d6a9a9ed236baabba7 (diff) |
ALSA: hda - Add headset support to Acer Aspire V5
commit 7819717b11346b8a5420b223b46600e394049c66 upstream.
Acer Aspire V5 with ALC282 codec needs the similar quirk like Dell
laptops to support the headset mic. The headset mic pin is 0x19 and
it's not exposed by BIOS, thus we need to fix the pincfg as well.
Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=96201
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 5e5e40a66e92..fc67aeddd80e 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -4478,6 +4478,7 @@ enum { | |||
4478 | ALC269_FIXUP_DELL3_MIC_NO_PRESENCE, | 4478 | ALC269_FIXUP_DELL3_MIC_NO_PRESENCE, |
4479 | ALC269_FIXUP_HEADSET_MODE, | 4479 | ALC269_FIXUP_HEADSET_MODE, |
4480 | ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC, | 4480 | ALC269_FIXUP_HEADSET_MODE_NO_HP_MIC, |
4481 | ALC269_FIXUP_ASPIRE_HEADSET_MIC, | ||
4481 | ALC269_FIXUP_ASUS_X101_FUNC, | 4482 | ALC269_FIXUP_ASUS_X101_FUNC, |
4482 | ALC269_FIXUP_ASUS_X101_VERB, | 4483 | ALC269_FIXUP_ASUS_X101_VERB, |
4483 | ALC269_FIXUP_ASUS_X101, | 4484 | ALC269_FIXUP_ASUS_X101, |
@@ -4754,6 +4755,15 @@ static const struct hda_fixup alc269_fixups[] = { | |||
4754 | .type = HDA_FIXUP_FUNC, | 4755 | .type = HDA_FIXUP_FUNC, |
4755 | .v.func = alc_fixup_headset_mode_no_hp_mic, | 4756 | .v.func = alc_fixup_headset_mode_no_hp_mic, |
4756 | }, | 4757 | }, |
4758 | [ALC269_FIXUP_ASPIRE_HEADSET_MIC] = { | ||
4759 | .type = HDA_FIXUP_PINS, | ||
4760 | .v.pins = (const struct hda_pintbl[]) { | ||
4761 | { 0x19, 0x01a1913c }, /* headset mic w/o jack detect */ | ||
4762 | { } | ||
4763 | }, | ||
4764 | .chained = true, | ||
4765 | .chain_id = ALC269_FIXUP_HEADSET_MODE, | ||
4766 | }, | ||
4757 | [ALC286_FIXUP_SONY_MIC_NO_PRESENCE] = { | 4767 | [ALC286_FIXUP_SONY_MIC_NO_PRESENCE] = { |
4758 | .type = HDA_FIXUP_PINS, | 4768 | .type = HDA_FIXUP_PINS, |
4759 | .v.pins = (const struct hda_pintbl[]) { | 4769 | .v.pins = (const struct hda_pintbl[]) { |
@@ -5079,6 +5089,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { | |||
5079 | SND_PCI_QUIRK(0x1025, 0x029b, "Acer 1810TZ", ALC269_FIXUP_INV_DMIC), | 5089 | SND_PCI_QUIRK(0x1025, 0x029b, "Acer 1810TZ", ALC269_FIXUP_INV_DMIC), |
5080 | SND_PCI_QUIRK(0x1025, 0x0349, "Acer AOD260", ALC269_FIXUP_INV_DMIC), | 5090 | SND_PCI_QUIRK(0x1025, 0x0349, "Acer AOD260", ALC269_FIXUP_INV_DMIC), |
5081 | SND_PCI_QUIRK(0x1025, 0x047c, "Acer AC700", ALC269_FIXUP_ACER_AC700), | 5091 | SND_PCI_QUIRK(0x1025, 0x047c, "Acer AC700", ALC269_FIXUP_ACER_AC700), |
5092 | SND_PCI_QUIRK(0x1025, 0x072d, "Acer Aspire V5-571G", ALC269_FIXUP_ASPIRE_HEADSET_MIC), | ||
5093 | SND_PCI_QUIRK(0x1025, 0x080d, "Acer Aspire V5-122P", ALC269_FIXUP_ASPIRE_HEADSET_MIC), | ||
5082 | SND_PCI_QUIRK(0x1025, 0x0740, "Acer AO725", ALC271_FIXUP_HP_GATE_MIC_JACK), | 5094 | SND_PCI_QUIRK(0x1025, 0x0740, "Acer AO725", ALC271_FIXUP_HP_GATE_MIC_JACK), |
5083 | SND_PCI_QUIRK(0x1025, 0x0742, "Acer AO756", ALC271_FIXUP_HP_GATE_MIC_JACK), | 5095 | SND_PCI_QUIRK(0x1025, 0x0742, "Acer AO756", ALC271_FIXUP_HP_GATE_MIC_JACK), |
5084 | SND_PCI_QUIRK(0x1025, 0x0775, "Acer Aspire E1-572", ALC271_FIXUP_HP_GATE_MIC_JACK_E1_572), | 5096 | SND_PCI_QUIRK(0x1025, 0x0775, "Acer Aspire E1-572", ALC271_FIXUP_HP_GATE_MIC_JACK_E1_572), |