diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-12-09 19:02:24 +0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-12-09 19:02:24 +0400 |
commit | f1e762ddc8035f803d15f8c524151bf788482ec2 (patch) | |
tree | 100e4074bc4a015ec68e891f9b6747d2ab3454e4 /sound/pci/hda/patch_analog.c | |
parent | e8648e5e33e45fa2bb8706107eafc8ef42ed0774 (diff) | |
download | linux-f1e762ddc8035f803d15f8c524151bf788482ec2.tar.xz |
ALSA: hda - Enable stereo mix as default for AD and VIA codecs
AD and VIA codecs had stereo mixer input enabled as default before
moving to the generic parser, and people think the lack of such a
regression. In this patch, the stereo mixer input is added back to
the input selection if no auto-mic is available, and if it's not
disabled explicitly via hint. This should satisfy most of demands,
i.e. stereo mix on desktop machines like what it worked before, and it
still keeps the new auto-mic feature on laptops.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_analog.c')
-rw-r--r-- | sound/pci/hda/patch_analog.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index 34d86ec5d3dd..05280033c302 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c @@ -194,6 +194,7 @@ static int ad198x_parse_auto_config(struct hda_codec *codec) codec->no_sticky_stream = 1; spec->gen.indep_hp = 1; + spec->gen.add_stereo_mix_input = 1; err = snd_hda_parse_pin_defcfg(codec, cfg, NULL, 0); if (err < 0) |