X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=src%2Fpatches%2Fsuse-2.6.27.31%2Fpatches.drivers%2Falsa-hda-stac9200-missing-mux-capture;fp=src%2Fpatches%2Fsuse-2.6.27.31%2Fpatches.drivers%2Falsa-hda-stac9200-missing-mux-capture;h=05ab956ae7d7f0b9f244c2736e64e9399b8408ae;hb=38e2b028de682e6c22e4249acadbdddd4d8b4b8a;hp=0000000000000000000000000000000000000000;hpb=3a87c0dd202ab6cd1546ce56fca50ef45f561e54;p=people%2Fpmueller%2Fipfire-2.x.git diff --git a/src/patches/suse-2.6.27.31/patches.drivers/alsa-hda-stac9200-missing-mux-capture b/src/patches/suse-2.6.27.31/patches.drivers/alsa-hda-stac9200-missing-mux-capture new file mode 100644 index 0000000000..05ab956ae7 --- /dev/null +++ b/src/patches/suse-2.6.27.31/patches.drivers/alsa-hda-stac9200-missing-mux-capture @@ -0,0 +1,29 @@ +From: Takashi Iwai +Subject: ALSA: hda - Add missing analog-mux mixer creation for STAC9200 +Patch-mainline: +References: bnc#443738 + +The creation of analog-mux mixer element is missing in +patch_stac9200() due to the dynamic allocation patch. + +Signed-off-by: Takashi Iwai + +--- + sound/pci/hda/patch_sigmatel.c | 6 ++++++ + 1 file changed, 6 insertions(+) + +--- a/sound/pci/hda/patch_sigmatel.c ++++ b/sound/pci/hda/patch_sigmatel.c +@@ -3535,6 +3535,12 @@ static int stac9200_parse_auto_config(st + 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)