ALSA: pci: 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>
This commit is contained in:
@@ -3351,10 +3351,6 @@ static int snd_cmipci_suspend(struct device *dev)
|
||||
|
||||
snd_power_change_state(card, SNDRV_CTL_POWER_D3hot);
|
||||
|
||||
snd_pcm_suspend_all(cm->pcm);
|
||||
snd_pcm_suspend_all(cm->pcm2);
|
||||
snd_pcm_suspend_all(cm->pcm_spdif);
|
||||
|
||||
/* save registers */
|
||||
for (i = 0; i < ARRAY_SIZE(saved_regs); i++)
|
||||
cm->saved_regs[i] = snd_cmipci_read(cm, saved_regs[i]);
|
||||
|
Reference in New Issue
Block a user