diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-01-11 20:02:51 +0300 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-01-15 19:47:15 +0300 |
commit | 17bc4815de586d001c82d0ddf75247283c3f002a (patch) | |
tree | e3dd5b34cca7e797c6e561fda35f2dc418918f26 /sound/pci/rme96.c | |
parent | 3c40dfeb044943d2323d39c7348c910746a81add (diff) | |
download | linux-17bc4815de586d001c82d0ddf75247283c3f002a.tar.xz |
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/rme96.c')
-rw-r--r-- | sound/pci/rme96.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/pci/rme96.c b/sound/pci/rme96.c index dcfa4d7a73e2..c56702e6cb60 100644 --- a/sound/pci/rme96.c +++ b/sound/pci/rme96.c @@ -2388,8 +2388,6 @@ static int rme96_suspend(struct device *dev) struct rme96 *rme96 = card->private_data; snd_power_change_state(card, SNDRV_CTL_POWER_D3hot); - snd_pcm_suspend(rme96->playback_substream); - snd_pcm_suspend(rme96->capture_substream); /* save capture & playback pointers */ rme96->playback_pointer = readl(rme96->iobase + RME96_IO_GET_PLAY_POS) |