This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/media_tree.git tree:

Subject: [media] pwc: add support for VIDIOC_LOG_STATUS
Author:  Hans Verkuil <[email protected]>
Date:    Fri Aug 26 08:46:13 2011 -0300

Signed-off-by: Hans Verkuil <[email protected]>
Acked-by: Hans de Goede <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/media/video/pwc/pwc-v4l.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=34ebdc97b9f273262559ab410d18f4e9424a54c2

diff --git a/drivers/media/video/pwc/pwc-v4l.c 
b/drivers/media/video/pwc/pwc-v4l.c
index 0a41ebb..a10ff6b 100644
--- a/drivers/media/video/pwc/pwc-v4l.c
+++ b/drivers/media/video/pwc/pwc-v4l.c
@@ -1078,6 +1078,14 @@ static int pwc_enum_frameintervals(struct file *file, 
void *fh,
        return 0;
 }
 
+static int pwc_log_status(struct file *file, void *priv)
+{
+       struct pwc_device *pdev = video_drvdata(file);
+
+       v4l2_ctrl_handler_log_status(&pdev->ctrl_handler, PWC_NAME);
+       return 0;
+}
+
 static long pwc_default(struct file *file, void *fh, bool valid_prio,
                        int cmd, void *arg)
 {
@@ -1101,6 +1109,7 @@ const struct v4l2_ioctl_ops pwc_ioctl_ops = {
        .vidioc_dqbuf                       = pwc_dqbuf,
        .vidioc_streamon                    = pwc_streamon,
        .vidioc_streamoff                   = pwc_streamoff,
+       .vidioc_log_status                  = pwc_log_status,
        .vidioc_enum_framesizes             = pwc_enum_framesizes,
        .vidioc_enum_frameintervals         = pwc_enum_frameintervals,
        .vidioc_default             = pwc_default,

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to