projects
/
GitHub
/
moto-9609
/
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:
1f015f5
)
ALSA: hda/conexant - Enable ADC-switching for auto-mic mode, too
author
Takashi Iwai
<tiwai@suse.de>
Wed, 24 Aug 2011 08:53:10 +0000
(10:53 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Wed, 24 Aug 2011 08:53:10 +0000
(10:53 +0200)
The ADC-switching can work also in the auto-mic mode, too.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_conexant.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/patch_conexant.c
b/sound/pci/hda/patch_conexant.c
index 4c462c3d6462c58ffa5b621c3f58c2e17a453772..5616444a8ed73dd573271a6bd93c28811907a6ef 100644
(file)
--- a/
sound/pci/hda/patch_conexant.c
+++ b/
sound/pci/hda/patch_conexant.c
@@
-3866,7
+3866,7
@@
static void cx_auto_parse_input(struct hda_codec *codec)
}
if (imux->num_items >= 2 && cfg->num_inputs == imux->num_items)
cx_auto_check_auto_mic(codec);
- if (imux->num_items > 1
&& !spec->auto_mic
) {
+ if (imux->num_items > 1) {
for (i = 1; i < imux->num_items; i++) {
if (spec->imux_info[i].adc != spec->imux_info[0].adc) {
spec->adc_switching = 1;