From: Pawel Osciak
Date: Tue, 11 May 2010 13:36:29 +0000 (-0300)
Subject: V4L/DVB: videobuf: rename videobuf_mmap_free and add sanity checks
X-Git-Tag: v2.6.36-rc1~582^2~127
X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a438d6da52b991b6896742a0f9aed80c2f82da87;p=pandora-kernel.git
V4L/DVB: videobuf: rename videobuf_mmap_free and add sanity checks
This function is not specific to mmap, hence the rename.
Add a check whether we are not streaming or reading (for read mode that
uses the stream queue) before freeing anything.
Signed-off-by: Pawel Osciak
Signed-off-by: Mauro Carvalho Chehab
---
Reading git-diff-tree failed