Skip to content

Commit

Permalink
ALSA: hda/conexant - Enable ADC-switching for auto-mic mode, too
Browse files Browse the repository at this point in the history
The ADC-switching can work also in the auto-mic mode, too.

Signed-off-by: Takashi Iwai <[email protected]>
  • Loading branch information
tiwai committed Aug 24, 2011
1 parent 1f015f5 commit 7675535
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sound/pci/hda/patch_conexant.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 7675535

Please sign in to comment.