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 | e8648e5e33e45fa2bb8706107eafc8ef42ed0774 (diff) | |
download | op-kernel-dev-f1e762ddc8035f803d15f8c524151bf788482ec2.zip op-kernel-dev-f1e762ddc8035f803d15f8c524151bf788482ec2.tar.gz |
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 0bc20ef..f84195f 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; } |