1 From: Takashi Iwai <tiwai@suse.de>
2 Subject: ALSA: hda - Add missing analog-mux mixer creation for STAC9200
6 The creation of analog-mux mixer element is missing in
7 patch_stac9200() due to the dynamic allocation patch.
9 Signed-off-by: Takashi Iwai <tiwai@suse.de>
12 sound/pci/hda/patch_sigmatel.c | 6 ++++++
13 1 file changed, 6 insertions(+)
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)
21 + if (spec->num_muxes > 0) {
22 + err = stac92xx_auto_create_mux_input_ctls(codec);
27 if (spec->autocfg.dig_out_pin)
28 spec->multiout.dig_out_nid = 0x05;
29 if (spec->autocfg.dig_in_pin)