diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-06-27 20:55:11 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-06-27 15:04:32 +0200 |
commit | db10e7fbbc836fb66d4500c64c1960940cfad2b0 (patch) | |
tree | 54b2bb67b0da562b0fdfeb949531fc4b1b62fbf6 /sound/pci/ens1370.c | |
parent | bd5fe738e388ceaa32e5171481e0d3ec59f0ccfe (diff) | |
download | linux-db10e7fbbc836fb66d4500c64c1960940cfad2b0.tar.bz2 |
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/ens1370.c')
-rw-r--r-- | sound/pci/ens1370.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/ens1370.c b/sound/pci/ens1370.c index 372f8ea91fca..ca8929b9a5d6 100644 --- a/sound/pci/ens1370.c +++ b/sound/pci/ens1370.c @@ -1939,7 +1939,7 @@ static int snd_ensoniq_free(struct ensoniq *ensoniq) #endif if (ensoniq->irq >= 0) synchronize_irq(ensoniq->irq); - pci_set_power_state(ensoniq->pci, 3); + pci_set_power_state(ensoniq->pci, PCI_D3hot); __hw_end: #ifdef CHIP1370 if (ensoniq->dma_bug.area) |