Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 45419
b: refs/heads/master
c: 6afeb11
h: refs/heads/master
i:
  45417: eeb801f
  45415: 097ad51
v: v3
  • Loading branch information
Takashi Iwai authored and Jaroslav Kysela committed Jan 9, 2007
1 parent 5d6660d commit 4b3068e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: f9cc8a8b1887e6e2bb430405d0a4f9b5fb39fa5d
refs/heads/master: 6afeb11de5b28e47adea1459c35e598bb98424d6
5 changes: 3 additions & 2 deletions trunk/sound/pci/hda/hda_generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -485,8 +485,9 @@ static const char *get_input_type(struct hda_gnode *node, unsigned int *pinctl)
return "Front Aux";
return "Aux";
case AC_JACK_MIC_IN:
if (node->pin_caps &
(AC_PINCAP_VREF_80 << AC_PINCAP_VREF_SHIFT))
if (pinctl &&
(node->pin_caps &
(AC_PINCAP_VREF_80 << AC_PINCAP_VREF_SHIFT)))
*pinctl |= AC_PINCTL_VREF_80;
if ((location & 0x0f) == AC_JACK_LOC_FRONT)
return "Front Mic";
Expand Down

0 comments on commit 4b3068e

Please sign in to comment.