• Takashi Iwai's avatar
    ALSA: atiixp: Move PCM suspend/resume code into trigger callback · 435e25c6
    Takashi Iwai authored
    ATIIXP driver supports the full PCM resume and saves/restores the
    running PCM pointer.  This used to be done in the suspend and resume
    callbacks together with snd_pcm_suspend() call.  But since we moved
    the snd_pcm_supsend*() call in PCM device PM ops, this should be moved
    to a more appropriate place, i.e. the trigger callback.
    
    Along with the movement of the PCM suspend/resume code, remove the
    superfluous snd_pcm_suspend_all() call, too.
    Reviewed-by: default avatarJaroslav Kysela <perex@perex.cz>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    435e25c6
atiixp.c 45 KB