aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorKailang Yang <kailang@realtek.com>2015-04-23 03:10:53 -0400
committerTakashi Iwai <tiwai@suse.de>2015-04-23 06:03:48 -0400
commitd32b66668c702aed0e330dc5ca186afbadcdacf8 (patch)
tree36177c2122ce354ae6b66f33a4cb78c86c038168 /sound
parent7d1b6e29327428993ba568bdd8c66734070f45e0 (diff)
ALSA: hda/realtek - Fix Headphone Mic doesn't recording for ALC256
Switch default pcbeep path to Line in path. Signed-off-by: Kailang Yang <kailang@realtek.com> Tested-by: Hui Wang <hui.wang@canonical.com> Cc: <stable@vger.kernel.org> Signed-off-by: Takashi Iwai <tiwai@suse.de>
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 03975d03b264..4b10cde12831 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -5665,6 +5665,7 @@ static int patch_alc269(struct hda_codec *codec)
5665 case 0x10ec0256: 5665 case 0x10ec0256:
5666 spec->codec_variant = ALC269_TYPE_ALC256; 5666 spec->codec_variant = ALC269_TYPE_ALC256;
5667 spec->gen.mixer_nid = 0; /* ALC256 does not have any loopback mixer path */ 5667 spec->gen.mixer_nid = 0; /* ALC256 does not have any loopback mixer path */
5668 alc_update_coef_idx(codec, 0x36, 1 << 13, 1 << 5); /* Switch pcbeep path to Line in path*/
5668 break; 5669 break;
5669 } 5670 }
5670 5671