|
@@ -1121,7 +1121,7 @@ static int snd_atiixp_suspend(snd_card_t *card, pm_message_t state)
|
|
snd_atiixp_aclink_down(chip);
|
|
snd_atiixp_aclink_down(chip);
|
|
snd_atiixp_chip_stop(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);
|
|
pci_disable_device(chip->pci);
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|
|
@@ -1132,7 +1132,7 @@ static int snd_atiixp_resume(snd_card_t *card)
|
|
int i;
|
|
int i;
|
|
|
|
|
|
pci_enable_device(chip->pci);
|
|
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);
|
|
pci_set_master(chip->pci);
|
|
|
|
|
|
snd_atiixp_aclink_reset(chip);
|
|
snd_atiixp_aclink_reset(chip);
|