commit | 6af845e4eb36fb91b322aaf77ec1cab2220a48ad | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Tue Mar 17 14:00:06 2009 +0100 |
committer | Takashi Iwai <tiwai@suse.de> | Wed Mar 18 08:04:01 2009 +0100 |
tree | 1c38682916ce378530e0be92f786a06b68c8f60e | |
parent | 82f5d57163abed2e5ff271d03217b6f90c616eb8 [diff] |
ALSA: Fix vunmap and free order in snd_free_sgbuf_pages() 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: Takashi Iwai <tiwai@suse.de>