aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/riptide/riptide.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-01-11 18:02:51 +0100
committerTakashi Iwai <tiwai@suse.de>2019-01-15 17:47:15 +0100
commit17bc4815de586d001c82d0ddf75247283c3f002a (patch)
treee3dd5b34cca7e797c6e561fda35f2dc418918f26 /sound/pci/riptide/riptide.c
parentALSA: drivers: Remove superfluous snd_pcm_suspend*() calls (diff)
downloadlinux-dev-17bc4815de586d001c82d0ddf75247283c3f002a.tar.xz
linux-dev-17bc4815de586d001c82d0ddf75247283c3f002a.zip
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 '')
-rw-r--r--sound/pci/riptide/riptide.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/pci/riptide/riptide.c b/sound/pci/riptide/riptide.c
index 23017e3bc76c..1d431c8052d6 100644
--- a/sound/pci/riptide/riptide.c
+++ b/sound/pci/riptide/riptide.c
@@ -1158,7 +1158,6 @@ static int riptide_suspend(struct device *dev)
chip->in_suspend = 1;
snd_power_change_state(card, SNDRV_CTL_POWER_D3hot);
- snd_pcm_suspend_all(chip->pcm);
snd_ac97_suspend(chip->ac97);
return 0;
}