projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28dc10a
)
ALSA: hda - Fix auto-mic detection in Realtek codec-parser
author
Takashi Iwai
<tiwai@suse.de>
Fri, 8 Jul 2011 12:37:35 +0000
(14:37 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Fri, 8 Jul 2011 12:37:35 +0000
(14:37 +0200)
A regression fix from commit
21268961d3d1bbdd22a19b68adb80119e8c72dcd
ALSA: hda - More flexible dynamic-ADC switching for Realtek codecs
The auto-mic wasn't detected properly when no ADC-switch is needed.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/hda/patch_realtek.c
b/sound/pci/hda/patch_realtek.c
index e230947cd3feaa6eb875d10238f728d626a7af5c..371d1e418d537ade92dcdc68aea7e00a9afb2c6d 100644
(file)
--- a/
sound/pci/hda/patch_realtek.c
+++ b/
sound/pci/hda/patch_realtek.c
@@
-958,7
+958,7
@@
static bool alc_check_dyn_adc_switch(struct hda_codec *codec)
break;
}
if (i >= imux->num_items)
- return
fals
e; /* no ADC-switch is needed */
+ return
tru
e; /* no ADC-switch is needed */
}
for (i = 0; i < imux->num_items; i++) {