History log of /drivers/media/video/v4l2-int-device.c
Revision Date Author Comments
7a707b89202f905bd9f9fbde326933c59a81214c 03-Jul-2011 Paul Gortmaker <paul.gortmaker@windriver.com> drivers/media: Add module.h to all files using it implicitly

A pending cleanup will mean that module.h won't be implicitly
everywhere anymore. Make sure the modular drivers in clocksource
are actually calling out for <module.h> explicitly in advance.

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
36499e525f6d2c0aba7c7f619d7a6081c56707ca 18-Oct-2008 Sakari Ailus <sakari.ailus@nokia.com> V4L/DVB (9322): v4l2-int-if: Export more interfaces to modules

Export v4l2_int_device_try_attach_all. This allows initiating the
initialisation of int if device after the drivers have been registered.

Also allow drivers to call ioctls if v4l2-int-if was compiled as
module.

Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
19ac111c038537b73c9a0bca24bad123c2ba5f42 31-Mar-2008 Adrian Bunk <bunk@kernel.org> V4L/DVB (7485): v4l2-int-device.c: add MODULE_LICENSE

Now that it's in an own module it needs a MODULE_LICENSE.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2c94a674e059e89252d58da655efa4e798be4d48 30-Oct-2007 Sakari Ailus <sakari.ailus@nokia.com> V4L/DVB (6580): Set slave's master before master's attach call.

V4L: Int if: Set slave's master before attach, remove master argument

The master also now gets its own pointer from slave's structure.

Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
a991f44b79fa49b281eb078eed4a76a42101012a 10-Oct-2007 Trent Piepho <xyzzy@speakeasy.org> V4L/DVB (6316): Change list_for_each+list_entry to list_for_each_entry

The rest of V4L files.

There is one list_for_each+list_entry in cpia_pp.c that
wasn't changed because it expects the loop iterator to remain NULL if
the list is empty.

A bug in vivi is fixed; the 'safe' version needs to be used because the loop
deletes the list entries.

Simplify a second loop in vivi and get rid if an un-used variable in that loop.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
61c310dc1e2a34bced25b4fa7609316d6755ccc2 30-Aug-2007 Sakari Ailus <sakari.ailus@nokia.com> V4L/DVB (6218): V4L: Int if: Use -ENOIOCTLCMD for nonexistent ioctls

Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
098c645e39e10dc580763b5ea4bd4fb390013474 30-Aug-2007 Sakari Ailus <sakari.ailus@nokia.com> V4L/DVB (6216): V4L: Int if: add vidioc_int_g_ifparm, other updates

vidioc_int_g_ifparm can be used to obtain hardware-specific information
about the interface used by the slave.

Rearrange v4l2-int-device.h as well.

Also remove useless & characters.

Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
261efd12fc291e6b3b42011201bfd011484ad90b 30-Jul-2007 Adrian Bunk <bunk@stusta.de> V4L/DVB (5940): Export v4l2_int_device_{, un}register

This patch fixes the following build error:

<-- snip -->

...
MODPOST 2135 modules
make[2]: *** [__modpost] Error 1

<-- snip -->

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
63116febb9233743279a05be510ab8524f5f6242 20-Jul-2007 Sakari Ailus <sakari.ailus@nokia.com> V4L/DVB (5883): V4L: Fix a compile warning on non-32-bit machines.

Fix a compile warning on non-32-bit machines in v4l2-int-device.h.
Add internal ioctl interface fallback function for ioctls with one
argument.

Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
9b5d0f1e6dd6b4a67d0851a1c5a4bcf9b0c2f258 18-Jul-2007 Sakari Ailus <sakari.ailus@nokia.com> V4L/DVB (5862): V4L: Add internal ioctl-like interface.

This patch adds an internal ioctl-like interface which can be used in
situations where a single Video4Linux device is implemented by multiple
device drivers. One master device controls one or more slave devices.
The slaves provide Video4Linux ioctl-like interface for the use of the
master.

Only a handful of ioctls are implemented at the moment. More can (and
should) be added as more functionality is required.

Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>