Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 5339
b: refs/heads/master
c: 41e2fce
h: refs/heads/master
i:
  5337: 98ea585
  5335: 3469668
v: v3
  • Loading branch information
Matt authored and Jaroslav Kysela committed Jul 28, 2005
1 parent 7156a17 commit 297b77c
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: bbd4615cdb68de943b2814e956ec14899606dc45
refs/heads/master: 41e2fce431070cb2d91391808077378582d3e6b1
6 changes: 6 additions & 0 deletions trunk/sound/pci/hda/hda_intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,9 @@ enum { SDI0, SDI1, SDI2, SDI3, SDO0, SDO1, SDO2, SDO3 };
#define ICH6_INT_CTRL_EN 0x40000000 /* controller interrupt enable bit */
#define ICH6_INT_GLOBAL_EN 0x80000000 /* global interrupt enable bit */

/* GCTL unsolicited response enable bit */
#define ICH6_GCTL_UREN (1<<8)

/* GCTL reset bit */
#define ICH6_GCTL_RESET (1<<0)

Expand Down Expand Up @@ -562,6 +565,9 @@ static int azx_reset(azx_t *chip)
return -EBUSY;
}

/* Accept unsolicited responses */
azx_writel(chip, GCTL, azx_readl(chip, GCTL) | ICH6_GCTL_UREN);

/* detect codecs */
if (! chip->codec_mask) {
chip->codec_mask = azx_readw(chip, STATESTS);
Expand Down

0 comments on commit 297b77c

Please sign in to comment.