diff options
author | Pawel Osciak <p.osciak@samsung.com> | 2010-05-11 15:36:29 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-08-02 20:21:29 +0200 |
commit | a438d6da52b991b6896742a0f9aed80c2f82da87 (patch) | |
tree | 267bfe22e74ec98432a271424b76ee4c70d8652d /include/media/videobuf-dma-sg.h | |
parent | V4L/DVB: videobuf: rename videobuf_alloc to videobuf_alloc_vb (diff) | |
download | linux-a438d6da52b991b6896742a0f9aed80c2f82da87.tar.xz linux-a438d6da52b991b6896742a0f9aed80c2f82da87.zip |
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 <p.osciak@samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'include/media/videobuf-dma-sg.h')
0 files changed, 0 insertions, 0 deletions