diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-01-11 18:01:18 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-01-15 17:46:57 +0100 |
commit | 28394f0e8735a40ec4b68fac8f484cdc9a4a0569 (patch) | |
tree | 163e9fd4bae773a0cb896d5575018bb61863d83c /sound/isa/es18xx.c | |
parent | ALSA: atiixp: Move PCM suspend/resume code into trigger callback (diff) | |
download | linux-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/es18xx.c')
-rw-r--r-- | sound/isa/es18xx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/isa/es18xx.c b/sound/isa/es18xx.c index 0d103d6f805e..77aa9a27fb3b 100644 --- a/sound/isa/es18xx.c +++ b/sound/isa/es18xx.c @@ -1731,8 +1731,6 @@ static int snd_es18xx_suspend(struct snd_card *card, pm_message_t state) snd_power_change_state(card, SNDRV_CTL_POWER_D3hot); - snd_pcm_suspend_all(chip->pcm); - /* power down */ chip->pm_reg = (unsigned char)snd_es18xx_read(chip, ES18XX_PM); chip->pm_reg |= (ES18XX_PM_FM | ES18XX_PM_SUS); |