diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-01-11 12:02:51 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-01-15 11:47:15 -0500 |
commit | 17bc4815de586d001c82d0ddf75247283c3f002a (patch) | |
tree | e3dd5b34cca7e797c6e561fda35f2dc418918f26 /sound/pci/cs46xx | |
parent | 3c40dfeb044943d2323d39c7348c910746a81add (diff) |
ALSA: pci: Remove superfluous snd_pcm_suspend*() calls
The call of snd_pcm_suspend_all() & co became superfluous since we
call it in the PCM PM ops. Let's remove them.
Reviewed-by: Jaroslav Kysela <perex@perex.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/cs46xx')
-rw-r--r-- | sound/pci/cs46xx/cs46xx_lib.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/pci/cs46xx/cs46xx_lib.c b/sound/pci/cs46xx/cs46xx_lib.c index 750eec437a79..a77d4cc44028 100644 --- a/sound/pci/cs46xx/cs46xx_lib.c +++ b/sound/pci/cs46xx/cs46xx_lib.c | |||
@@ -3781,12 +3781,6 @@ static int snd_cs46xx_suspend(struct device *dev) | |||
3781 | 3781 | ||
3782 | snd_power_change_state(card, SNDRV_CTL_POWER_D3hot); | 3782 | snd_power_change_state(card, SNDRV_CTL_POWER_D3hot); |
3783 | chip->in_suspend = 1; | 3783 | chip->in_suspend = 1; |
3784 | snd_pcm_suspend_all(chip->pcm); | ||
3785 | #ifdef CONFIG_SND_CS46XX_NEW_DSP | ||
3786 | snd_pcm_suspend_all(chip->pcm_rear); | ||
3787 | snd_pcm_suspend_all(chip->pcm_center_lfe); | ||
3788 | snd_pcm_suspend_all(chip->pcm_iec958); | ||
3789 | #endif | ||
3790 | // chip->ac97_powerdown = snd_cs46xx_codec_read(chip, AC97_POWER_CONTROL); | 3784 | // chip->ac97_powerdown = snd_cs46xx_codec_read(chip, AC97_POWER_CONTROL); |
3791 | // chip->ac97_general_purpose = snd_cs46xx_codec_read(chip, BA0_AC97_GENERAL_PURPOSE); | 3785 | // chip->ac97_general_purpose = snd_cs46xx_codec_read(chip, BA0_AC97_GENERAL_PURPOSE); |
3792 | 3786 | ||