Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 168312
b: refs/heads/master
c: 1a69697
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Nov 7, 2009
1 parent f04137e commit 9686f0f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 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: 78987bdc4e41a425ac113c2c51474f0368fe653a
refs/heads/master: 1a6969788ef2d5bc3169eee59def6b267182f136
12 changes: 8 additions & 4 deletions trunk/sound/pci/hda/hda_intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -722,9 +722,10 @@ static unsigned int azx_rirb_get_response(struct hda_bus *bus,
chip->last_cmd[addr]);
chip->single_cmd = 1;
bus->response_reset = 0;
/* re-initialize CORB/RIRB */
/* release CORB/RIRB */
azx_free_cmd_io(chip);
azx_init_cmd_io(chip);
/* disable unsolicited responses */
azx_writel(chip, GCTL, azx_readl(chip, GCTL) & ~ICH6_GCTL_UNSOL);
return -1;
}

Expand Down Expand Up @@ -865,7 +866,9 @@ static int azx_reset(struct azx *chip)
}

/* Accept unsolicited responses */
azx_writel(chip, GCTL, azx_readl(chip, GCTL) | ICH6_GCTL_UNSOL);
if (!chip->single_cmd)
azx_writel(chip, GCTL, azx_readl(chip, GCTL) |
ICH6_GCTL_UNSOL);

/* detect codecs */
if (!chip->codec_mask) {
Expand Down Expand Up @@ -980,7 +983,8 @@ static void azx_init_chip(struct azx *chip)
azx_int_enable(chip);

/* initialize the codec command I/O */
azx_init_cmd_io(chip);
if (!chip->single_cmd)
azx_init_cmd_io(chip);

/* program the position buffer */
azx_writel(chip, DPLBASE, (u32)chip->posbuf.addr);
Expand Down

0 comments on commit 9686f0f

Please sign in to comment.