summaryrefslogtreecommitdiffstats
path: root/sound/isa/sb/sb8.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-01-11 18:01:18 +0100
committerTakashi Iwai <tiwai@suse.de>2019-01-15 17:46:57 +0100
commit28394f0e8735a40ec4b68fac8f484cdc9a4a0569 (patch)
tree163e9fd4bae773a0cb896d5575018bb61863d83c /sound/isa/sb/sb8.c
parentALSA: atiixp: Move PCM suspend/resume code into trigger callback (diff)
downloadlinux-28394f0e8735a40ec4b68fac8f484cdc9a4a0569.tar.xz
linux-28394f0e8735a40ec4b68fac8f484cdc9a4a0569.zip
ALSA: isa: 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/isa/sb/sb8.c')
-rw-r--r--sound/isa/sb/sb8.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/isa/sb/sb8.c b/sound/isa/sb/sb8.c
index d77dcba276b5..aa2a83eb81a9 100644
--- a/sound/isa/sb/sb8.c
+++ b/sound/isa/sb/sb8.c
@@ -218,7 +218,6 @@ static int snd_sb8_suspend(struct device *dev, unsigned int n,
struct snd_sb *chip = acard->chip;
snd_power_change_state(card, SNDRV_CTL_POWER_D3hot);
- snd_pcm_suspend_all(chip->pcm);
snd_sbmixer_suspend(chip);
return 0;
}