Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148413
b: refs/heads/master
c: 22e336b
h: refs/heads/master
i:
  148411: 34c5848
v: v3
  • Loading branch information
Takashi Iwai committed May 8, 2009
1 parent 533572b commit c8ecf30
Show file tree
Hide file tree
Showing 2 changed files with 7 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: a9fd4f3fcdc7e5757424f7e5888f660cf34bb1a9
refs/heads/master: 22e336b776f743cbabfc5c946bff9ccf7ccc756b
7 changes: 6 additions & 1 deletion trunk/sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -4084,7 +4084,12 @@ static int stac92xx_init(struct hda_codec *codec)
pinctl = snd_hda_codec_read(codec, nid, 0,
AC_VERB_GET_PIN_WIDGET_CONTROL, 0);
/* if PINCTL already set then skip */
if (!(pinctl & AC_PINCTL_IN_EN)) {
/* Also, if both INPUT and OUTPUT are set,
* it must be a BIOS bug; need to override, too
*/
if (!(pinctl & AC_PINCTL_IN_EN) ||
(pinctl & AC_PINCTL_OUT_EN)) {
pinctl &= ~AC_PINCTL_OUT_EN;
pinctl |= AC_PINCTL_IN_EN;
stac92xx_auto_set_pinctl(codec, nid,
pinctl);
Expand Down

0 comments on commit c8ecf30

Please sign in to comment.