Commit f42c7734 authored by Kailang Yang's avatar Kailang Yang Committed by Sasha Levin

ALSA: hda/realtek - Fix Headphone Mic doesn't recording for ALC256

[ Upstream commit d32b6666 ]

Switch default pcbeep path to Line in path.
Signed-off-by: default avatarKailang Yang <kailang@realtek.com>
Tested-by: default avatarHui Wang <hui.wang@canonical.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
Signed-off-by: default avatarSasha Levin <sasha.levin@oracle.com>
parent bf78e009
......@@ -5415,6 +5415,7 @@ static int patch_alc269(struct hda_codec *codec)
case 0x10ec0256:
spec->codec_variant = ALC269_TYPE_ALC256;
spec->gen.mixer_nid = 0; /* ALC256 does not have any loopback mixer path */
alc_update_coef_idx(codec, 0x36, 1 << 13, 1 << 5); /* Switch pcbeep path to Line in path*/
break;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment