Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148448
b: refs/heads/master
c: 65f7598
h: refs/heads/master
v: v3
  • Loading branch information
Alexander Beregalov authored and Takashi Iwai committed Jun 4, 2009
1 parent 0a2c6d1 commit c3410db
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 018df41861475595a51d327b83fb5830462f7a53
refs/heads/master: 65f759831179bb8922f2a91a989487161d476a94
5 changes: 4 additions & 1 deletion trunk/sound/pci/hda/hda_intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1260,17 +1260,20 @@ static void azx_stop_chip(struct azx *chip);
static void azx_bus_reset(struct hda_bus *bus)
{
struct azx *chip = bus->private_data;
int i;

bus->in_reset = 1;
azx_stop_chip(chip);
azx_init_chip(chip);
#ifdef CONFIG_PM
if (chip->initialized) {
int i;

for (i = 0; i < AZX_MAX_PCMS; i++)
snd_pcm_suspend_all(chip->pcm[i]);
snd_hda_suspend(chip->bus);
snd_hda_resume(chip->bus);
}
#endif
bus->in_reset = 0;
}

Expand Down

0 comments on commit c3410db

Please sign in to comment.