commit | a438d6da52b991b6896742a0f9aed80c2f82da87 | [log] [tgz] |
---|---|---|
author | Pawel Osciak <p.osciak@samsung.com> | Tue May 11 10:36:29 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Aug 02 15:21:29 2010 -0300 |
tree | 267bfe22e74ec98432a271424b76ee4c70d8652d | |
parent | 33c38283f03d8ea0358229fc03c1beebe67aed0e [diff] |
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>