View | Details | Raw Unified | Return to bug 25692 | Differences between
and this patch

Collapse All | Expand All

(-)a/sound/pci/hda/patch_sigmatel.c (-2 / +1 lines)
Lines 3594-3600 static int stac_check_auto_mic(struct hda_codec *codec) Link Here
3594
		if (check_mic_pin(codec, spec->dmic_nids[i],
3594
		if (check_mic_pin(codec, spec->dmic_nids[i],
3595
		    &fixed, &ext, &dock))
3595
		    &fixed, &ext, &dock))
3596
			return 0;
3596
			return 0;
3597
	if (!fixed && !ext && !dock)
3597
	if (!fixed || (!ext && !dock))
3598
		return 0; /* no input to switch */
3598
		return 0; /* no input to switch */
3599
	if (!(get_wcaps(codec, ext) & AC_WCAP_UNSOL_CAP))
3599
	if (!(get_wcaps(codec, ext) & AC_WCAP_UNSOL_CAP))
3600
		return 0; /* no unsol support */
3600
		return 0; /* no unsol support */
3601
- 

Return to bug 25692