]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - sound/pci/hda/patch_sigmatel.c
ALSA: hda - Add missing analog-mux mixer creation for STAC9200
[linux-2.6-omap-h63xx.git] / sound / pci / hda / patch_sigmatel.c
index e6085915d86d16c0791ad9a261a1d0d1ccad7b81..1627756e5c7dc6e586a1bfadba346f8c7e0d1719 100644 (file)
@@ -3530,6 +3530,12 @@ static int stac9200_parse_auto_config(struct hda_codec *codec)
        if ((err = stac9200_auto_create_lfe_ctls(codec, &spec->autocfg)) < 0)
                return err;
 
+       if (spec->num_muxes > 0) {
+               err = stac92xx_auto_create_mux_input_ctls(codec);
+               if (err < 0)
+                       return err;
+       }
+
        if (spec->autocfg.dig_out_pin)
                spec->multiout.dig_out_nid = 0x05;
        if (spec->autocfg.dig_in_pin)