Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 145295
b: refs/heads/master
c: 461c6c3
h: refs/heads/master
i:
  145293: 011a8cf
  145291: 82324b4
  145287: 6dc8283
  145279: c6cdc61
v: v3
  • Loading branch information
Takashi Iwai committed May 25, 2009
1 parent 0f95c66 commit 4883b31
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 679d92ed1403b6cf9a19aa42ec62b81cae1aa017
refs/heads/master: 461c6c3a0a23a8fac1a4b636e93ff5dfe599a241
6 changes: 6 additions & 0 deletions trunk/sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,12 @@ static void alc_set_input_pin(struct hda_codec *codec, hda_nid_t nid,
pincap = (pincap & AC_PINCAP_VREF) >> AC_PINCAP_VREF_SHIFT;
if (pincap & AC_PINCAP_VREF_80)
val = PIN_VREF80;
else if (pincap & AC_PINCAP_VREF_50)
val = PIN_VREF50;
else if (pincap & AC_PINCAP_VREF_100)
val = PIN_VREF100;
else if (pincap & AC_PINCAP_VREF_GRD)
val = PIN_VREFGRD;
}
snd_hda_codec_write(codec, nid, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, val);
}
Expand Down

0 comments on commit 4883b31

Please sign in to comment.