projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ALSA: hda - Fix switching between dmic and mic using the same mux on IDT/STAC
[cascardo/linux.git]
/
sound
/
pci
/
hda
/
patch_sigmatel.c
diff --git
a/sound/pci/hda/patch_sigmatel.c
b/sound/pci/hda/patch_sigmatel.c
index
a90327b
..
d8dfafe
100644
(file)
--- a/
sound/pci/hda/patch_sigmatel.c
+++ b/
sound/pci/hda/patch_sigmatel.c
@@
-3481,8
+3481,10
@@
static int stac92xx_auto_create_dmic_input_ctls(struct hda_codec *codec,
return err;
}
- if (snd_hda_get_bool_hint(codec, "separate_dmux") != 1)
+ if (snd_hda_get_bool_hint(codec, "separate_dmux") != 1)
{
snd_hda_add_imux_item(imux, label, index, NULL);
+ spec->num_analog_muxes++;
+ }
}
return 0;