Skip to content

Commit 4f4c654

Browse files
drosdecktiwai
authored andcommitted
ALSA: hda/realtek: Enable mic on Vaio RPL
Vaio RPL is equipped with ACL256, and needs a fix to make the internal mic and headphone mic to work. Also must to limits the internal microphone boost. Signed-off-by: Edson Juliano Drosdeck <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 28935ee commit 4f4c654

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

sound/hda/codecs/realtek/alc269.c

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3736,6 +3736,7 @@ enum {
37363736
ALC285_FIXUP_ASUS_GA605K_I2C_SPEAKER2_TO_DAC1,
37373737
ALC269_FIXUP_POSITIVO_P15X_HEADSET_MIC,
37383738
ALC289_FIXUP_ASUS_ZEPHYRUS_DUAL_SPK,
3739+
ALC256_FIXUP_VAIO_RPL_MIC_NO_PRESENCE,
37393740
};
37403741

37413742
/* A special fixup for Lenovo C940 and Yoga Duet 7;
@@ -6172,6 +6173,16 @@ static const struct hda_fixup alc269_fixups[] = {
61726173
{ 0x1e, 0x90170150 }, /* Internal Speaker */
61736174
{ }
61746175
},
6176+
},
6177+
[ALC256_FIXUP_VAIO_RPL_MIC_NO_PRESENCE] = {
6178+
.type = HDA_FIXUP_PINS,
6179+
.v.pins = (const struct hda_pintbl[]) {
6180+
{ 0x19, 0x03a1113c }, /* use as headset mic, without its own jack detect */
6181+
{ 0x1a, 0x22a190a0 }, /* dock mic */
6182+
{ }
6183+
},
6184+
.chained = true,
6185+
.chain_id = ALC269_FIXUP_LIMIT_INT_MIC_BOOST
61756186
}
61766187
};
61776188

@@ -6960,6 +6971,7 @@ static const struct hda_quirk alc269_fixup_tbl[] = {
69606971
SND_PCI_QUIRK(0x1558, 0x971d, "Clevo N970T[CDF]", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
69616972
SND_PCI_QUIRK(0x1558, 0xa500, "Clevo NL5[03]RU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
69626973
SND_PCI_QUIRK(0x1558, 0xa554, "VAIO VJFH52", ALC269_FIXUP_VAIO_VJFH52_MIC_NO_PRESENCE),
6974+
SND_PCI_QUIRK(0x1558, 0xa559, "VAIO RPL", ALC256_FIXUP_VAIO_RPL_MIC_NO_PRESENCE),
69636975
SND_PCI_QUIRK(0x1558, 0xa600, "Clevo NL50NU", ALC293_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
69646976
SND_PCI_QUIRK(0x1558, 0xa650, "Clevo NP[567]0SN[CD]", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE),
69656977
SND_PCI_QUIRK(0x1558, 0xa671, "Clevo NP70SN[CDE]", ALC256_FIXUP_SYSTEM76_MIC_NO_PRESENCE),

0 commit comments

Comments
 (0)