[media] media: vb2: fix userptr VMA release seq
authorYu Tang <ytang5@marvell.com>
Tue, 30 Aug 2011 05:31:54 +0000 (02:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 6 Sep 2011 18:05:21 +0000 (15:05 -0300)
commit8607c42540d0aa61ab562506681d34c245b91fae
tree079e39f8b3316063ab6c057bb8429bb95ba086b3
parentba7fcb0c954921534707f08ebc4d8beeb2eb17e7
[media] media: vb2: fix userptr VMA release seq

Align vb2 user pointer VMA release sequence with munmap.
Do vm_ops->vm_close before release file.

Signed-off-by: Yu Tang <ytang5@marvell.com>
Signed-off-by: Marek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/videobuf2-memops.c