aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/atiixp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/atiixp.c')
-rw-r--r--sound/pci/atiixp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/atiixp.c b/sound/pci/atiixp.c
index 904d17394e1c..188df085b7ee 100644
--- a/sound/pci/atiixp.c
+++ b/sound/pci/atiixp.c
@@ -1427,7 +1427,7 @@ static int snd_atiixp_suspend(snd_card_t *card, pm_message_t state)
1427 snd_atiixp_aclink_down(chip); 1427 snd_atiixp_aclink_down(chip);
1428 snd_atiixp_chip_stop(chip); 1428 snd_atiixp_chip_stop(chip);
1429 1429
1430 pci_set_power_state(chip->pci, 3); 1430 pci_set_power_state(chip->pci, PCI_D3hot);
1431 pci_disable_device(chip->pci); 1431 pci_disable_device(chip->pci);
1432 return 0; 1432 return 0;
1433} 1433}
@@ -1438,7 +1438,7 @@ static int snd_atiixp_resume(snd_card_t *card)
1438 int i; 1438 int i;
1439 1439
1440 pci_enable_device(chip->pci); 1440 pci_enable_device(chip->pci);
1441 pci_set_power_state(chip->pci, 0); 1441 pci_set_power_state(chip->pci, PCI_D0);
1442 pci_set_master(chip->pci); 1442 pci_set_master(chip->pci);
1443 1443
1444 snd_atiixp_aclink_reset(chip); 1444 snd_atiixp_aclink_reset(chip);