From: Kailang Yang Date: Thu, 23 Apr 2015 07:10:53 +0000 (+0800) Subject: ALSA: hda/realtek - Fix Headphone Mic doesn't recording for ALC256 X-Git-Tag: v3.19.7~92 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d697ef7a97150ddaf915aaa3e79378de9e78a515;p=thirdparty%2Fkernel%2Fstable.git ALSA: hda/realtek - Fix Headphone Mic doesn't recording for ALC256 commit d32b66668c702aed0e330dc5ca186afbadcdacf8 upstream. Switch default pcbeep path to Line in path. Signed-off-by: Kailang Yang Tested-by: Hui Wang Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 1b96c53480e32..39e3640e30ebf 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -5455,6 +5455,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; }