aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/azt3328.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/azt3328.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/azt3328.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c
index fc18c29a8173..90348817f096 100644
--- a/sound/pci/azt3328.c
+++ b/sound/pci/azt3328.c
@@ -2699,10 +2699,6 @@ snd_azf3328_suspend(struct device *dev)
snd_power_change_state(card, SNDRV_CTL_POWER_D3hot);
- /* same pcm object for playback/capture */
- snd_pcm_suspend_all(chip->pcm[AZF_CODEC_PLAYBACK]);
- snd_pcm_suspend_all(chip->pcm[AZF_CODEC_I2S_OUT]);
-
snd_azf3328_suspend_ac97(chip);
snd_azf3328_suspend_regs(chip, chip->ctrl_io,