aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorKailang Yang <kailang@realtek.com>2015-04-23 15:10:53 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-05-06 22:03:49 +0200
commitc7a98726965179726bbd105e5ff6465c1d09ace1 (patch)
treeaad27433e8e8630f3365f459e48c43f197bb5e57 /sound
parentcb927a0ae496171966921e084eb7f6c2dc04e43b (diff)
downloadlinux-linaro-stable-c7a98726965179726bbd105e5ff6465c1d09ace1.tar.gz
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 <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>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_realtek.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index b46bb84f8915..2210e1b0fdd0 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -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;
}