diff options
Diffstat (limited to 'sound/pci/oxygen/oxygen_lib.c')
-rw-r--r-- | sound/pci/oxygen/oxygen_lib.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/sound/pci/oxygen/oxygen_lib.c b/sound/pci/oxygen/oxygen_lib.c index 6a743c878415..d4cfff7e49e1 100644 --- a/sound/pci/oxygen/oxygen_lib.c +++ b/sound/pci/oxygen/oxygen_lib.c | |||
@@ -744,13 +744,10 @@ static int oxygen_pci_suspend(struct device *dev) | |||
744 | { | 744 | { |
745 | struct snd_card *card = dev_get_drvdata(dev); | 745 | struct snd_card *card = dev_get_drvdata(dev); |
746 | struct oxygen *chip = card->private_data; | 746 | struct oxygen *chip = card->private_data; |
747 | unsigned int i, saved_interrupt_mask; | 747 | unsigned int saved_interrupt_mask; |
748 | 748 | ||
749 | snd_power_change_state(card, SNDRV_CTL_POWER_D3hot); | 749 | snd_power_change_state(card, SNDRV_CTL_POWER_D3hot); |
750 | 750 | ||
751 | for (i = 0; i < PCM_COUNT; ++i) | ||
752 | snd_pcm_suspend(chip->streams[i]); | ||
753 | |||
754 | if (chip->model.suspend) | 751 | if (chip->model.suspend) |
755 | chip->model.suspend(chip); | 752 | chip->model.suspend(chip); |
756 | 753 | ||