Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 216699
b: refs/heads/master
c: f68b3b2
h: refs/heads/master
i:
  216697: 177ab39
  216695: b032268
v: v3
  • Loading branch information
Takashi Iwai committed Sep 17, 2010
1 parent 5f3113b commit 6bf8b16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 99ae28bea984df4c38234eb6d2f29a552def6c1b
refs/heads/master: f68b3b291d39f1e3361b194a95459f9cbdaf31e6
3 changes: 2 additions & 1 deletion trunk/sound/pci/hda/patch_conexant.c
Original file line number Diff line number Diff line change
Expand Up @@ -3475,7 +3475,8 @@ static int is_ext_mic(struct hda_codec *codec, hda_nid_t pin)
{
unsigned int def_conf = snd_hda_codec_get_pincfg(codec, pin);
return get_defcfg_device(def_conf) == AC_JACK_MIC_IN &&
snd_hda_get_input_pin_attr(def_conf) != INPUT_PIN_ATTR_INT;
snd_hda_get_input_pin_attr(def_conf) >= INPUT_PIN_ATTR_NORMAL &&
(snd_hda_query_pin_caps(codec, pin) & AC_PINCAP_PRES_DETECT);
}

/* check whether the pin config is suitable for auto-mic switching;
Expand Down

0 comments on commit 6bf8b16

Please sign in to comment.