]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blame - src/patches/suse-2.6.27.25/patches.drivers/alsa-hda-stac9200-missing-mux-capture
Reenabled linux-xen and xen-image build
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.25 / patches.drivers / alsa-hda-stac9200-missing-mux-capture
CommitLineData
00e5a55c
BS
1From: Takashi Iwai <tiwai@suse.de>
2Subject: ALSA: hda - Add missing analog-mux mixer creation for STAC9200
3Patch-mainline:
4References: bnc#443738
5
6The creation of analog-mux mixer element is missing in
7patch_stac9200() due to the dynamic allocation patch.
8
9Signed-off-by: Takashi Iwai <tiwai@suse.de>
10
11---
12 sound/pci/hda/patch_sigmatel.c | 6 ++++++
13 1 file changed, 6 insertions(+)
14
15--- a/sound/pci/hda/patch_sigmatel.c
16+++ b/sound/pci/hda/patch_sigmatel.c
17@@ -3535,6 +3535,12 @@ static int stac9200_parse_auto_config(st
18 if ((err = stac9200_auto_create_lfe_ctls(codec, &spec->autocfg)) < 0)
19 return err;
20
21+ if (spec->num_muxes > 0) {
22+ err = stac92xx_auto_create_mux_input_ctls(codec);
23+ if (err < 0)
24+ return err;
25+ }
26+
27 if (spec->autocfg.dig_out_pin)
28 spec->multiout.dig_out_nid = 0x05;
29 if (spec->autocfg.dig_in_pin)