V4L/DVB: videobuf: rename videobuf_mmap_free and add sanity checks
authorPawel Osciak <p.osciak@samsung.com>
Tue, 11 May 2010 13:36:29 +0000 (10:36 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 18:21:29 +0000 (15:21 -0300)
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 <p.osciak@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found