summaryrefslogtreecommitdiff
path: root/sound/isa/es1688
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2019-01-11 20:01:18 +0300
committerTakashi Iwai <tiwai@suse.de>2019-01-15 19:46:57 +0300
commit28394f0e8735a40ec4b68fac8f484cdc9a4a0569 (patch)
tree163e9fd4bae773a0cb896d5575018bb61863d83c /sound/isa/es1688
parent435e25c67de7e0a21fbb32239bded0cefc488e20 (diff)
downloadlinux-28394f0e8735a40ec4b68fac8f484cdc9a4a0569.tar.xz
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/es1688')
-rw-r--r--sound/isa/es1688/es1688.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/isa/es1688/es1688.c b/sound/isa/es1688/es1688.c
index 3dfe7e592c25..87527627e059 100644
--- a/sound/isa/es1688/es1688.c
+++ b/sound/isa/es1688/es1688.c
@@ -301,10 +301,8 @@ static int snd_es968_pnp_suspend(struct pnp_card_link *pcard,
pm_message_t state)
{
struct snd_card *card = pnp_get_card_drvdata(pcard);
- struct snd_es1688 *chip = card->private_data;
snd_power_change_state(card, SNDRV_CTL_POWER_D3hot);
- snd_pcm_suspend_all(chip->pcm);
return 0;
}