]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
ALSA: hda/realtek - Fix Headphone Mic doesn't recording for ALC256
authorKailang Yang <kailang@realtek.com>
Thu, 23 Apr 2015 07:10:53 +0000 (15:10 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 May 2015 20:03:49 +0000 (22:03 +0200)
commit d32b66668c702aed0e330dc5ca186afbadcdacf8 upstream.

Switch default pcbeep path to Line in path.

Signed-off-by: Kailang Yang <kailang@realtek.com>
Tested-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/pci/hda/patch_realtek.c

index b46bb84f89153b8e8ff4202d1f8f4a7d286db363..2210e1b0fdd0d06ee0281164481019f5a6041975 100644 (file)
@@ -5566,6 +5566,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;
        }