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/echoaudio | |
| 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/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) | |||
| 2165 | { | 2165 | { |
| 2166 | struct echoaudio *chip = dev_get_drvdata(dev); | 2166 | struct echoaudio *chip = dev_get_drvdata(dev); |
| 2167 | 2167 | ||
| 2168 | snd_pcm_suspend_all(chip->analog_pcm); | ||
| 2169 | snd_pcm_suspend_all(chip->digital_pcm); | ||
| 2170 | |||
| 2171 | #ifdef ECHOCARD_HAS_MIDI | 2168 | #ifdef ECHOCARD_HAS_MIDI |
| 2172 | /* This call can sleep */ | 2169 | /* This call can sleep */ |
| 2173 | if (chip->midi_out) | 2170 | if (chip->midi_out) |
