Skip to content

Commit 44be77c

Browse files
committed
ALSA: hda - Fix missing COEF init for ALC225/295/299
There was a long-standing problem on HP Spectre X360 with Kabylake where it lacks of the front speaker output in some situations. Also there are other products showing the similar behavior. The culprit seems to be the missing COEF setup on ALC codecs, ALC225/295/299, which are all compatible. This patch adds the proper COEF setup (to initialize idx 0x67 / bits 0x3000) for addressing the issue. Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=195457 Cc: <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent a36c263 commit 44be77c

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

sound/pci/hda/patch_realtek.c

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,12 @@ static void alc_fill_eapd_coef(struct hda_codec *codec)
324324
case 0x10ec0292:
325325
alc_update_coef_idx(codec, 0x4, 1<<15, 0);
326326
break;
327-
case 0x10ec0215:
328327
case 0x10ec0225:
328+
case 0x10ec0295:
329+
case 0x10ec0299:
330+
alc_update_coef_idx(codec, 0x67, 0xf000, 0x3000);
331+
/* fallthrough */
332+
case 0x10ec0215:
329333
case 0x10ec0233:
330334
case 0x10ec0236:
331335
case 0x10ec0255:
@@ -336,10 +340,8 @@ static void alc_fill_eapd_coef(struct hda_codec *codec)
336340
case 0x10ec0286:
337341
case 0x10ec0288:
338342
case 0x10ec0285:
339-
case 0x10ec0295:
340343
case 0x10ec0298:
341344
case 0x10ec0289:
342-
case 0x10ec0299:
343345
alc_update_coef_idx(codec, 0x10, 1<<9, 0);
344346
break;
345347
case 0x10ec0275:

0 commit comments

Comments
 (0)