aboutsummaryrefslogtreecommitdiffstats
path: root/sound/isa/ad1816a/ad1816a_lib.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/ad1816a/ad1816a_lib.c
parentALSA: atiixp: Move PCM suspend/resume code into trigger callback (diff)
downloadlinux-dev-28394f0e8735a40ec4b68fac8f484cdc9a4a0569.tar.xz
linux-dev-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 '')
-rw-r--r--sound/isa/ad1816a/ad1816a_lib.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/isa/ad1816a/ad1816a_lib.c b/sound/isa/ad1816a/ad1816a_lib.c
index fba6d22f7f4b..61e8c7e524db 100644
--- a/sound/isa/ad1816a/ad1816a_lib.c
+++ b/sound/isa/ad1816a/ad1816a_lib.c
@@ -518,7 +518,6 @@ void snd_ad1816a_suspend(struct snd_ad1816a *chip)
int reg;
unsigned long flags;
- snd_pcm_suspend_all(chip->pcm);
spin_lock_irqsave(&chip->lock, flags);
for (reg = 0; reg < 48; reg++)
chip->image[reg] = snd_ad1816a_read(chip, reg);