ALSA: hda/conexant - Enable stereo mix input for CX20549 and CX20551
authorTakashi Iwai <tiwai@suse.de>
Mon, 27 Jan 2014 17:04:57 +0000 (18:04 +0100)
committerTakashi Iwai <tiwai@suse.de>
Thu, 30 Jan 2014 11:39:14 +0000 (12:39 +0100)
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>
sound/pci/hda/patch_conexant.c

index 6b2c11da128367d4384a7e9c4bf7ffcc889ea923..cf2ee7ff6fef8407bfaa32fa8c4b051dcc666f65 100644 (file)
@@ -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;