Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 120374
b: refs/heads/master
c: 50232d6
h: refs/heads/master
v: v3
  • Loading branch information
Takashi Iwai committed Dec 20, 2008
1 parent 73bdd44 commit 53064f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 8df0f70751dc0e51d0550caee3416339183c5767
refs/heads/master: 50232d62cace101e03f8f40ca151b978c0db5a0d
6 changes: 4 additions & 2 deletions trunk/sound/pci/ca0106/ca0106_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1752,7 +1752,8 @@ static int snd_ca0106_suspend(struct pci_dev *pci, pm_message_t state)
snd_power_change_state(card, SNDRV_CTL_POWER_D3hot);
for (i = 0; i < 4; i++)
snd_pcm_suspend_all(chip->pcm[i]);
snd_ac97_suspend(chip->ac97);
if (chip->details->ac97)
snd_ac97_suspend(chip->ac97);
snd_ca0106_mixer_suspend(chip);

ca0106_stop_chip(chip);
Expand Down Expand Up @@ -1781,7 +1782,8 @@ static int snd_ca0106_resume(struct pci_dev *pci)

ca0106_init_chip(chip, 1);

snd_ac97_resume(chip->ac97);
if (chip->details->ac97)
snd_ac97_resume(chip->ac97);
snd_ca0106_mixer_resume(chip);
if (chip->details->spi_dac) {
for (i = 0; i < ARRAY_SIZE(chip->spi_dac_reg); i++)
Expand Down

0 comments on commit 53064f8

Please sign in to comment.