public inbox for linux-omap@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/15] OMAP3 camera driver: V4L2: Adding IOCTL command to get slave private data.
@ 2008-08-29 23:23 Aguirre Rodriguez, Sergio Alberto
  2008-08-31 21:35 ` David Brownell
  2008-09-02 14:55 ` Zou Tao
  0 siblings, 2 replies; 7+ messages in thread
From: Aguirre Rodriguez, Sergio Alberto @ 2008-08-29 23:23 UTC (permalink / raw)
  To: linux-omap@vger.kernel.org

>From 0be1009427e55115058bfe72521a2a2811a976e8 Mon Sep 17 00:00:00 2001
From: Sakari Ailus <sakari.ailus@nokia.com>
Date: Tue, 15 Apr 2008 10:35:15 +0300
Subject: [PATCH] Adding IOCTL command to get slave private data.

Signed-off-by: Sakari Ailus <sakari.ailus@nokia.com>
---
 include/media/v4l2-int-device.h |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/include/media/v4l2-int-device.h b/include/media/v4l2-int-device.h
index c8b80e0..d9a0053 100644
--- a/include/media/v4l2-int-device.h
+++ b/include/media/v4l2-int-device.h
@@ -184,6 +184,11 @@ enum v4l2_int_ioctl_num {
 	vidioc_int_dev_exit_num,
 	/* Set device power state: 0 is off, non-zero is on. */
 	vidioc_int_s_power_num,
+	/*
+	* Get slave private data, e.g. platform-specific slave
+	* configuration used by the master.
+	*/
+	vidioc_int_g_priv_num,
 	/* Get slave interface parameters. */
 	vidioc_int_g_ifparm_num,
 	/* Does the slave need to be reset after VIDIOC_DQBUF? */
@@ -267,6 +272,7 @@ V4L2_INT_WRAPPER_1(s_parm, struct v4l2_streamparm, *);
 V4L2_INT_WRAPPER_0(dev_init);
 V4L2_INT_WRAPPER_0(dev_exit);
 V4L2_INT_WRAPPER_1(s_power, int, );
+V4L2_INT_WRAPPER_1(g_priv, void, *);
 V4L2_INT_WRAPPER_1(g_ifparm, struct v4l2_ifparm, *);
 V4L2_INT_WRAPPER_1(g_needs_reset, void, *);
 
-- 
1.5.5.1


^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-09-05 14:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-29 23:23 [PATCH 1/15] OMAP3 camera driver: V4L2: Adding IOCTL command to get slave private data Aguirre Rodriguez, Sergio Alberto
2008-08-31 21:35 ` David Brownell
2008-09-02 22:53   ` Tony Lindgren
2008-09-02 14:55 ` Zou Tao
2008-09-02 16:15   ` Aguirre Rodriguez, Sergio Alberto
2008-09-05 13:36     ` Zou Tao
2008-09-05 14:44       ` Aguirre Rodriguez, Sergio Alberto

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox