diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-01-11 18:02:20 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-01-15 17:47:06 +0100 |
commit | 3c40dfeb044943d2323d39c7348c910746a81add (patch) | |
tree | 9f10217b537a242b76c7042ace43583cbbcb8ce8 /sound/drivers/aloop.c | |
parent | ALSA: isa: Remove superfluous snd_pcm_suspend*() calls (diff) | |
download | linux-3c40dfeb044943d2323d39c7348c910746a81add.tar.xz linux-3c40dfeb044943d2323d39c7348c910746a81add.zip |
ALSA: drivers: 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/drivers/aloop.c')
-rw-r--r-- | sound/drivers/aloop.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/drivers/aloop.c b/sound/drivers/aloop.c index 1e34e6381baa..65c903b639c2 100644 --- a/sound/drivers/aloop.c +++ b/sound/drivers/aloop.c @@ -1200,12 +1200,8 @@ static int loopback_remove(struct platform_device *devptr) static int loopback_suspend(struct device *pdev) { struct snd_card *card = dev_get_drvdata(pdev); - struct loopback *loopback = card->private_data; snd_power_change_state(card, SNDRV_CTL_POWER_D3hot); - - snd_pcm_suspend_all(loopback->pcm[0]); - snd_pcm_suspend_all(loopback->pcm[1]); return 0; } |