Skip to content
  • Takashi Iwai's avatar
    ALSA: Fix vunmap and free order in snd_free_sgbuf_pages() · 6af845e4
    Takashi Iwai authored
    
    
    In snd_free_sgbuf_pags(), vunmap() is called after releasing the SG
    pages, and it causes errors on Xen as Xen manages the pages
    differently.  Although no significant errors have been reported on
    the actual hardware, this order should be fixed other way round,
    first vunmap() then free pages.
    
    Cc: Jan Beulich <jbeulich@novell.com>
    Cc: <stable@kernel.org>
    Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
    6af845e4