diff options
author | Sylwester Nawrocki <s.nawrocki@samsung.com> | 2013-09-14 18:39:04 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-12-04 15:34:24 -0200 |
commit | 8e6e8f93f7cb3452b1c00da8a30d01558628d913 (patch) | |
tree | 0f1a5f470a68299a1f607be4b2426e9484bbd348 /lib/extable.c | |
parent | 2e1ab9cb94a257dcd7561601be44ca8b35b27365 (diff) | |
download | lwn-8e6e8f93f7cb3452b1c00da8a30d01558628d913.tar.gz lwn-8e6e8f93f7cb3452b1c00da8a30d01558628d913.zip |
[media] V4L: Add mem2mem ioctl and file operation helpers
This patch adds ioctl helpers to the V4L2 mem-to-mem API, so we can avoid
several ioctl handlers in the mem-to-mem video node drivers that are simply
a pass-through to the v4l2_m2m_* calls. These helpers will only be useful
for drivers that use same mutex for both OUTPUT and CAPTURE queue, which
is the case for all currently in tree v4l2 m2m drivers. In order to use
the helpers the drivers are required to use struct v4l2_fh.
Signed-off-by: Sylwester Nawrocki <s.nawrocki@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'lib/extable.c')
0 files changed, 0 insertions, 0 deletions