diff options
author | Takashi Iwai <tiwai@suse.de> | 2013-12-09 16:02:24 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-12-09 16:02:24 +0100 |
commit | f1e762ddc8035f803d15f8c524151bf788482ec2 (patch) | |
tree | 100e4074bc4a015ec68e891f9b6747d2ab3454e4 /sound/pci/hda/patch_via.c | |
parent | ALSA: hda - Ignore small negative LPIB delay correction (diff) | |
download | linux-f1e762ddc8035f803d15f8c524151bf788482ec2.tar.xz linux-f1e762ddc8035f803d15f8c524151bf788482ec2.zip |
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_via.c')
-rw-r--r-- | sound/pci/hda/patch_via.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c index 0bc20ef5687a..f84195f3ea31 100644 --- a/sound/pci/hda/patch_via.c +++ b/sound/pci/hda/patch_via.c @@ -138,6 +138,7 @@ static struct via_spec *via_new_spec(struct hda_codec *codec) spec->gen.indep_hp = 1; spec->gen.keep_eapd_on = 1; spec->gen.pcm_playback_hook = via_playback_pcm_hook; + spec->gen.add_stereo_mix_input = 1; return spec; } |