summaryrefslogtreecommitdiffstats
path: root/sound/pci/ymfpci/ymfpci_main.c
diff options
context:
space:
mode:
authorYijing Wang <wangyijing@huawei.com>2013-06-27 20:55:11 +0800
committerTakashi Iwai <tiwai@suse.de>2013-06-27 15:04:32 +0200
commitdb10e7fbbc836fb66d4500c64c1960940cfad2b0 (patch)
tree54b2bb67b0da562b0fdfeb949531fc4b1b62fbf6 /sound/pci/ymfpci/ymfpci_main.c
parentbd5fe738e388ceaa32e5171481e0d3ec59f0ccfe (diff)
downloadop-kernel-dev-db10e7fbbc836fb66d4500c64c1960940cfad2b0.zip
op-kernel-dev-db10e7fbbc836fb66d4500c64c1960940cfad2b0.tar.gz
ALSA: pci: trivial: replace numeric with standard PM state macros
Use standard PM state macros PCI_Dx instead of numeric 0/1/2.. Signed-off-by: Yijing Wang <wangyijing@huawei.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/ymfpci/ymfpci_main.c')
-rw-r--r--sound/pci/ymfpci/ymfpci_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ymfpci/ymfpci_main.c b/sound/pci/ymfpci/ymfpci_main.c
index 22056c5..d591c15 100644
--- a/sound/pci/ymfpci/ymfpci_main.c
+++ b/sound/pci/ymfpci/ymfpci_main.c
@@ -2258,7 +2258,7 @@ static int snd_ymfpci_free(struct snd_ymfpci *chip)
/* FIXME: temporarily disabled, otherwise we cannot fire up
* the chip again unless reboot. ACPI bug?
*/
- pci_set_power_state(chip->pci, 3);
+ pci_set_power_state(chip->pci, PCI_D3hot);
#endif
#ifdef CONFIG_PM_SLEEP
OpenPOWER on IntegriCloud