Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 271847
b: refs/heads/master
c: 380834d
h: refs/heads/master
i:
  271845: 86f2176
  271843: 63f4091
  271839: 6b02ec3
v: v3
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Sep 21, 2011
1 parent eee19d9 commit f43da2f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 43d23f36297d030194c5c82a0593eb7eddcb4fbb
refs/heads/master: 380834d674c2b3655a9d7a219f288331f5cc7b4f
9 changes: 9 additions & 0 deletions trunk/drivers/media/video/vivi.c
Original file line number Diff line number Diff line change
Expand Up @@ -958,6 +958,14 @@ static int vidioc_streamoff(struct file *file, void *priv, enum v4l2_buf_type i)
return vb2_streamoff(&dev->vb_vidq, i);
}

static int vidioc_log_status(struct file *file, void *priv)
{
struct vivi_dev *dev = video_drvdata(file);

v4l2_ctrl_handler_log_status(&dev->ctrl_handler, dev->v4l2_dev.name);
return 0;
}

static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id *i)
{
return 0;
Expand Down Expand Up @@ -1201,6 +1209,7 @@ static const struct v4l2_ioctl_ops vivi_ioctl_ops = {
.vidioc_s_input = vidioc_s_input,
.vidioc_streamon = vidioc_streamon,
.vidioc_streamoff = vidioc_streamoff,
.vidioc_log_status = vidioc_log_status,
.vidioc_subscribe_event = vidioc_subscribe_event,
.vidioc_unsubscribe_event = v4l2_event_unsubscribe,
};
Expand Down

0 comments on commit f43da2f

Please sign in to comment.