Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 113
b: refs/heads/master
c: e2d5356
h: refs/heads/master
i:
  111: c926d6d
v: v3
  • Loading branch information
Pavel Machek authored and Linus Torvalds committed Apr 16, 2005
1 parent e9551bb commit 81ff381
Show file tree
Hide file tree
Showing 3 changed files with 5 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: e5378ca8c0ab684bd9339dc6827dd5a042f9e6fc
refs/heads/master: e2d53566a757c8d12246d8daf8c5a2f21a0c4293
4 changes: 2 additions & 2 deletions trunk/sound/core/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ struct snd_generic_device {

#define SND_GENERIC_NAME "snd_generic_pm"

static int snd_generic_suspend(struct device *dev, u32 state, u32 level);
static int snd_generic_suspend(struct device *dev, pm_message_t state, u32 level);
static int snd_generic_resume(struct device *dev, u32 level);

static struct device_driver snd_generic_driver = {
Expand Down Expand Up @@ -800,7 +800,7 @@ static void snd_generic_device_unregister(struct snd_generic_device *dev)
}

/* suspend/resume callbacks for snd_generic platform device */
static int snd_generic_suspend(struct device *dev, u32 state, u32 level)
static int snd_generic_suspend(struct device *dev, pm_message_t state, u32 level)
{
snd_card_t *card;

Expand Down
4 changes: 2 additions & 2 deletions trunk/sound/pci/atiixp_modem.c
Original file line number Diff line number Diff line change
Expand Up @@ -1121,7 +1121,7 @@ static int snd_atiixp_suspend(snd_card_t *card, pm_message_t state)
snd_atiixp_aclink_down(chip);
snd_atiixp_chip_stop(chip);

pci_set_power_state(chip->pci, 3);
pci_set_power_state(chip->pci, PCI_D3hot);
pci_disable_device(chip->pci);
return 0;
}
Expand All @@ -1132,7 +1132,7 @@ static int snd_atiixp_resume(snd_card_t *card)
int i;

pci_enable_device(chip->pci);
pci_set_power_state(chip->pci, 0);
pci_set_power_state(chip->pci, PCI_D0);
pci_set_master(chip->pci);

snd_atiixp_aclink_reset(chip);
Expand Down

0 comments on commit 81ff381

Please sign in to comment.