diff options
author | Takashi Iwai <tiwai@suse.de> | 2019-01-11 18:03:52 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2019-01-15 17:47:45 +0100 |
commit | ece984a63a8d2d9132c6198d47d0a4be8ea99d17 (patch) | |
tree | e02be266e0237cca20f862ea6fd1dfdab2b2f9a3 /sound/ppc | |
parent | 0c3df9edb24d06af388f5ff648232ba2361717fc (diff) | |
download | linux-stable-ece984a63a8d2d9132c6198d47d0a4be8ea99d17.tar.gz linux-stable-ece984a63a8d2d9132c6198d47d0a4be8ea99d17.tar.bz2 linux-stable-ece984a63a8d2d9132c6198d47d0a4be8ea99d17.zip |
ALSA: ppc: 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/ppc')
-rw-r--r-- | sound/ppc/pmac.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/ppc/pmac.c b/sound/ppc/pmac.c index d692e4070167..6d420bd3ae17 100644 --- a/sound/ppc/pmac.c +++ b/sound/ppc/pmac.c @@ -1365,7 +1365,6 @@ void snd_pmac_suspend(struct snd_pmac *chip) snd_power_change_state(chip->card, SNDRV_CTL_POWER_D3hot); if (chip->suspend) chip->suspend(chip); - snd_pcm_suspend_all(chip->pcm); spin_lock_irqsave(&chip->reg_lock, flags); snd_pmac_beep_stop(chip); spin_unlock_irqrestore(&chip->reg_lock, flags); |