summaryrefslogtreecommitdiffstats
path: root/sound/drivers/dummy.c
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-01-11 18:02:20 +0100
committerTakashi Iwai <tiwai@suse.de>2019-01-15 17:47:06 +0100
commit3c40dfeb044943d2323d39c7348c910746a81add (patch)
tree9f10217b537a242b76c7042ace43583cbbcb8ce8 /sound/drivers/dummy.c
parentALSA: isa: Remove superfluous snd_pcm_suspend*() calls (diff)
downloadlinux-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/dummy.c')
-rw-r--r--sound/drivers/dummy.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/drivers/dummy.c b/sound/drivers/dummy.c
index 9af154db530a..c8d31550e9a1 100644
--- a/sound/drivers/dummy.c
+++ b/sound/drivers/dummy.c
@@ -1138,10 +1138,8 @@ static int snd_dummy_remove(struct platform_device *devptr)
static int snd_dummy_suspend(struct device *pdev)
{
struct snd_card *card = dev_get_drvdata(pdev);
- struct snd_dummy *dummy = card->private_data;
snd_power_change_state(card, SNDRV_CTL_POWER_D3hot);
- snd_pcm_suspend_all(dummy->pcm);
return 0;
}