]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
[media] go7007: add log_status support
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 9 Mar 2013 14:25:09 +0000 (11:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 24 Mar 2013 15:45:05 +0000 (12:45 -0300)
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/staging/media/go7007/go7007-v4l2.c

index 7efdfdf4d9d4fa1cdaad5325c2df9d39747e328f..e7f832e9d90b30cb9ae98c108b83add42c5a5c83 100644 (file)
@@ -1188,6 +1188,14 @@ static int vidioc_s_frequency(struct file *file, void *priv,
        return call_all(&go->v4l2_dev, tuner, s_frequency, f);
 }
 
+static int vidioc_log_status(struct file *file, void *priv)
+{
+       struct go7007 *go = ((struct go7007_file *) priv)->go;
+
+       v4l2_ctrl_log_status(file, priv);
+       return call_all(&go->v4l2_dev, core, log_status);
+}
+
 static int vidioc_cropcap(struct file *file, void *priv,
                                        struct v4l2_cropcap *cropcap)
 {
@@ -1654,7 +1662,7 @@ static const struct v4l2_ioctl_ops video_ioctl_ops = {
        .vidioc_cropcap           = vidioc_cropcap,
        .vidioc_g_crop            = vidioc_g_crop,
        .vidioc_s_crop            = vidioc_s_crop,
-       .vidioc_log_status        = v4l2_ctrl_log_status,
+       .vidioc_log_status        = vidioc_log_status,
        .vidioc_subscribe_event   = v4l2_ctrl_subscribe_event,
        .vidioc_unsubscribe_event = v4l2_event_unsubscribe,
 };