projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fec88de
)
ALSA: hda - Fix switching between dmic and mic using the same mux on IDT/STAC
author
Vitaliy Kulikov
<Vitaliy.Kulikov@idt.com>
Fri, 24 Sep 2010 21:21:53 +0000
(16:21 -0500)
committer
Takashi Iwai
<tiwai@suse.de>
Sat, 25 Sep 2010 07:11:26 +0000
(09:11 +0200)
Fix bug in switching between dmic and mic when both use the same mux.
Signed-off-by: Vitaliy Kulikov <Vitaliy.Kulikov@idt.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/patch_sigmatel.c
b/sound/pci/hda/patch_sigmatel.c
index a90327b0cc3ee8f252816f65206c6b4a31bb1d77..d8dfafeab80e35417fddb7f0981461ab0d659f59 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;