ALSA: drivers: Remove superfluous snd_pcm_suspend*() calls
[sfrench/cifs-2.6.git] / sound / drivers / vx / vx_core.c
index 04368dd59a4c8dd80503bae67ca3acfa12cc5a0d..19496fa486aa16126113300e4f601d8e7d273812 100644 (file)
@@ -732,12 +732,8 @@ EXPORT_SYMBOL(snd_vx_dsp_load);
  */
 int snd_vx_suspend(struct vx_core *chip)
 {
-       unsigned int i;
-
        snd_power_change_state(chip->card, SNDRV_CTL_POWER_D3hot);
        chip->chip_status |= VX_STAT_IN_SUSPEND;
-       for (i = 0; i < chip->hw->num_codecs; i++)
-               snd_pcm_suspend_all(chip->pcm[i]);
 
        return 0;
 }