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/echoaudio | |
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/echoaudio')
-rw-r--r-- | sound/pci/echoaudio/echoaudio.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/pci/echoaudio/echoaudio.c b/sound/pci/echoaudio/echoaudio.c index 907cf1a46712..18d30d479b6b 100644 --- a/sound/pci/echoaudio/echoaudio.c +++ b/sound/pci/echoaudio/echoaudio.c @@ -2165,9 +2165,6 @@ static int snd_echo_suspend(struct device *dev) { struct echoaudio *chip = dev_get_drvdata(dev); - snd_pcm_suspend_all(chip->analog_pcm); - snd_pcm_suspend_all(chip->digital_pcm); - #ifdef ECHOCARD_HAS_MIDI /* This call can sleep */ if (chip->midi_out) |