summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2014-01-27 18:04:57 +0100
committerTakashi Iwai <tiwai@suse.de>2014-01-30 12:39:14 +0100
commitd50ce6c0b8afb958316fba15e329e3e53abfd968 (patch)
tree810f669b0d61c1942c39abd2e1d60275968bbfcb
parentALSA: hda/conexant - Add analog loopback mixing to CX20549 (diff)
downloadlinux-d50ce6c0b8afb958316fba15e329e3e53abfd968.tar.xz
linux-d50ce6c0b8afb958316fba15e329e3e53abfd968.zip
ALSA: hda/conexant - Enable stereo mix input for CX20549 and CX20551
Both CX20549 and CX20551 codecs have a mixer widget and it can be connected as the ADC source. Like AD and VIA codecs, enable the add_stereo_mix_input flag for these codecs. Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/hda/patch_conexant.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index 6b2c11da1283..cf2ee7ff6fef 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -3424,12 +3424,14 @@ static int patch_conexant_auto(struct hda_codec *codec)
case 0x14f15045:
codec->single_adc_amp = 1;
spec->gen.mixer_nid = 0x17;
+ spec->gen.add_stereo_mix_input = 1;
snd_hda_pick_fixup(codec, cxt5045_fixup_models,
cxt5045_fixups, cxt_fixups);
break;
case 0x14f15047:
codec->pin_amp_workaround = 1;
spec->gen.mixer_nid = 0x19;
+ spec->gen.add_stereo_mix_input = 1;
snd_hda_pick_fixup(codec, cxt5047_fixup_models,
cxt5047_fixups, cxt_fixups);
break;