]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blob - src/patches/suse-2.6.27.31/patches.drivers/alsa-hda-stac9200-missing-mux-capture
Changed checkfs to auto reboot after correctable fsck fixes.
[people/pmueller/ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.drivers / alsa-hda-stac9200-missing-mux-capture
1 From: Takashi Iwai <tiwai@suse.de>
2 Subject: ALSA: hda - Add missing analog-mux mixer creation for STAC9200
3 Patch-mainline:
4 References: bnc#443738
5
6 The creation of analog-mux mixer element is missing in
7 patch_stac9200() due to the dynamic allocation patch.
8
9 Signed-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)