aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2008-11-11 10:46:19 -0500
committerTakashi Iwai <tiwai@suse.de>2008-11-11 10:46:19 -0500
commit355a0ec471377a8a907b79c8fba3f0f09b44656e (patch)
tree0ff94f4a134932d169504adebec13df491df4fb2 /sound/pci
parent254248313aed7e6ff295ca21a82ca989b1f69c16 (diff)
ALSA: hda - Add missing analog-mux mixer creation for STAC9200
The creation of analog-mux mixer element is missing in patch_stac9200() due to the dynamic allocation patch. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci')
-rw-r--r--sound/pci/hda/patch_sigmatel.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index e6085915d86d..1627756e5c7d 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -3530,6 +3530,12 @@ static int stac9200_parse_auto_config(struct hda_codec *codec)
3530 if ((err = stac9200_auto_create_lfe_ctls(codec, &spec->autocfg)) < 0) 3530 if ((err = stac9200_auto_create_lfe_ctls(codec, &spec->autocfg)) < 0)
3531 return err; 3531 return err;
3532 3532
3533 if (spec->num_muxes > 0) {
3534 err = stac92xx_auto_create_mux_input_ctls(codec);
3535 if (err < 0)
3536 return err;
3537 }
3538
3533 if (spec->autocfg.dig_out_pin) 3539 if (spec->autocfg.dig_out_pin)
3534 spec->multiout.dig_out_nid = 0x05; 3540 spec->multiout.dig_out_nid = 0x05;
3535 if (spec->autocfg.dig_in_pin) 3541 if (spec->autocfg.dig_in_pin)