Skip to content

Commit 2b3b649

Browse files
KailangYangtiwai
authored andcommitted
ALSA: hda/realtek - Add more codec supported Headset Button
Add supported Headset Button for ALC215/ALC285/ALC289. Signed-off-by: Kailang Yang <[email protected]> Cc: <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
1 parent 93f9d1a commit 2b3b649

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5701,8 +5701,11 @@ static void alc_fixup_headset_jack(struct hda_codec *codec,
57015701
break;
57025702
case HDA_FIXUP_ACT_INIT:
57035703
switch (codec->core.vendor_id) {
5704+
case 0x10ec0215:
57045705
case 0x10ec0225:
5706+
case 0x10ec0285:
57055707
case 0x10ec0295:
5708+
case 0x10ec0289:
57065709
case 0x10ec0299:
57075710
alc_write_coef_idx(codec, 0x48, 0xd011);
57085711
alc_update_coef_idx(codec, 0x49, 0x007f, 0x0045);

0 commit comments

Comments
 (0)