diff options
author | Kailang Yang <kailang@realtek.com> | 2018-03-15 23:46:08 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2018-03-22 04:07:30 -0400 |
commit | f0ba9d699e5ca2bcd07f70185d18720c4f1b597c (patch) | |
tree | c1c0eb5d3731d84bf6ed53795f69dc5f3cccbe98 | |
parent | a8d7bde23e7130686b76624b099f3e22dd38aef7 (diff) |
ALSA: hda/realtek - Fix Dell headset Mic can't record
This platform was hardware fixed type for CTIA type for headset port.
Assigned 0x19 verb will fix can't record issue.
Signed-off-by: Kailang Yang <kailang@realtek.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 5ef056f2aecc..619d1f92b6eb 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -5501,6 +5501,7 @@ enum { | |||
5501 | ALC274_FIXUP_DELL_AIO_LINEOUT_VERB, | 5501 | ALC274_FIXUP_DELL_AIO_LINEOUT_VERB, |
5502 | ALC298_FIXUP_TPT470_DOCK, | 5502 | ALC298_FIXUP_TPT470_DOCK, |
5503 | ALC255_FIXUP_DUMMY_LINEOUT_VERB, | 5503 | ALC255_FIXUP_DUMMY_LINEOUT_VERB, |
5504 | ALC255_FIXUP_DELL_HEADSET_MIC, | ||
5504 | }; | 5505 | }; |
5505 | 5506 | ||
5506 | static const struct hda_fixup alc269_fixups[] = { | 5507 | static const struct hda_fixup alc269_fixups[] = { |
@@ -6361,6 +6362,13 @@ static const struct hda_fixup alc269_fixups[] = { | |||
6361 | .chained = true, | 6362 | .chained = true, |
6362 | .chain_id = ALC255_FIXUP_DELL1_MIC_NO_PRESENCE | 6363 | .chain_id = ALC255_FIXUP_DELL1_MIC_NO_PRESENCE |
6363 | }, | 6364 | }, |
6365 | [ALC255_FIXUP_DELL_HEADSET_MIC] = { | ||
6366 | .type = HDA_FIXUP_PINS, | ||
6367 | .v.pins = (const struct hda_pintbl[]) { | ||
6368 | { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */ | ||
6369 | { } | ||
6370 | }, | ||
6371 | }, | ||
6364 | }; | 6372 | }; |
6365 | 6373 | ||
6366 | static const struct snd_pci_quirk alc269_fixup_tbl[] = { | 6374 | static const struct snd_pci_quirk alc269_fixup_tbl[] = { |
@@ -6415,6 +6423,8 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { | |||
6415 | SND_PCI_QUIRK(0x1028, 0x082a, "Dell XPS 13 9360", ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE), | 6423 | SND_PCI_QUIRK(0x1028, 0x082a, "Dell XPS 13 9360", ALC256_FIXUP_DELL_XPS_13_HEADPHONE_NOISE), |
6416 | SND_PCI_QUIRK(0x1028, 0x084b, "Dell", ALC274_FIXUP_DELL_AIO_LINEOUT_VERB), | 6424 | SND_PCI_QUIRK(0x1028, 0x084b, "Dell", ALC274_FIXUP_DELL_AIO_LINEOUT_VERB), |
6417 | SND_PCI_QUIRK(0x1028, 0x084e, "Dell", ALC274_FIXUP_DELL_AIO_LINEOUT_VERB), | 6425 | SND_PCI_QUIRK(0x1028, 0x084e, "Dell", ALC274_FIXUP_DELL_AIO_LINEOUT_VERB), |
6426 | SND_PCI_QUIRK(0x1028, 0x0871, "Dell Precision 3630", ALC255_FIXUP_DELL_HEADSET_MIC), | ||
6427 | SND_PCI_QUIRK(0x1028, 0x0872, "Dell Precision 3630", ALC255_FIXUP_DELL_HEADSET_MIC), | ||
6418 | SND_PCI_QUIRK(0x1028, 0x0873, "Dell Precision 3930", ALC255_FIXUP_DUMMY_LINEOUT_VERB), | 6428 | SND_PCI_QUIRK(0x1028, 0x0873, "Dell Precision 3930", ALC255_FIXUP_DUMMY_LINEOUT_VERB), |
6419 | SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), | 6429 | SND_PCI_QUIRK(0x1028, 0x164a, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), |
6420 | SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), | 6430 | SND_PCI_QUIRK(0x1028, 0x164b, "Dell", ALC293_FIXUP_DELL1_MIC_NO_PRESENCE), |