Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 131531
b: refs/heads/master
c: e6845d9
h: refs/heads/master
i:
  131529: 554464e
  131527: 466a926
v: v3
  • Loading branch information
Takashi Iwai committed Feb 19, 2009
1 parent 86eb0c3 commit 0f1f11d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: 6ce6c473a7fd742fdb0db95841e2c4c6b37337c5
refs/heads/master: e6845d9101c5ad2b132473d515e77d74415f004b
8 changes: 2 additions & 6 deletions trunk/sound/pci/hda/hda_intel.c
Original file line number Diff line number Diff line change
Expand Up @@ -1947,16 +1947,13 @@ static int azx_suspend(struct pci_dev *pci, pm_message_t state)
return 0;
}

static int azx_resume_early(struct pci_dev *pci)
{
return pci_restore_state(pci);
}

static int azx_resume(struct pci_dev *pci)
{
struct snd_card *card = pci_get_drvdata(pci);
struct azx *chip = card->private_data;

pci_set_power_state(pci, PCI_D0);
pci_restore_state(pci);
if (pci_enable_device(pci) < 0) {
printk(KERN_ERR "hda-intel: pci_enable_device failed, "
"disabling device\n");
Expand Down Expand Up @@ -2468,7 +2465,6 @@ static struct pci_driver driver = {
.remove = __devexit_p(azx_remove),
#ifdef CONFIG_PM
.suspend = azx_suspend,
.resume_early = azx_resume_early,
.resume = azx_resume,
#endif
};
Expand Down

0 comments on commit 0f1f11d

Please sign in to comment.