diff options
author | Yijing Wang <wangyijing@huawei.com> | 2013-06-27 08:55:11 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2013-06-27 09:04:32 -0400 |
commit | db10e7fbbc836fb66d4500c64c1960940cfad2b0 (patch) | |
tree | 54b2bb67b0da562b0fdfeb949531fc4b1b62fbf6 /sound/pci/cs4281.c | |
parent | bd5fe738e388ceaa32e5171481e0d3ec59f0ccfe (diff) |
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/cs4281.c')
-rw-r--r-- | sound/pci/cs4281.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sound/pci/cs4281.c b/sound/pci/cs4281.c index 64659facd155..1dc793e742d7 100644 --- a/sound/pci/cs4281.c +++ b/sound/pci/cs4281.c | |||
@@ -1312,7 +1312,7 @@ static int snd_cs4281_free(struct cs4281 *chip) | |||
1312 | /* Sound System Power Management - Turn Everything OFF */ | 1312 | /* Sound System Power Management - Turn Everything OFF */ |
1313 | snd_cs4281_pokeBA0(chip, BA0_SSPM, 0); | 1313 | snd_cs4281_pokeBA0(chip, BA0_SSPM, 0); |
1314 | /* PCI interface - D3 state */ | 1314 | /* PCI interface - D3 state */ |
1315 | pci_set_power_state(chip->pci, 3); | 1315 | pci_set_power_state(chip->pci, PCI_D3hot); |
1316 | 1316 | ||
1317 | if (chip->irq >= 0) | 1317 | if (chip->irq >= 0) |
1318 | free_irq(chip->irq, chip); | 1318 | free_irq(chip->irq, chip); |