Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 44081
b: refs/heads/master
c: 207705c
h: refs/heads/master
i:
  44079: 3330add
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Dec 10, 2006
1 parent 1069e33 commit 3808357
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7964b1b1c27dea88eb89b10f774893ec11cf973d
refs/heads/master: 207705cd7f82b9f160c6ed552d5788a823701fd1
11 changes: 5 additions & 6 deletions trunk/drivers/media/video/videodev.c
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,10 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
v4l_print_ioctl(vfd->name, cmd);
}

if (_IOC_TYPE(cmd)=='v')
return v4l_compat_translate_ioctl(inode,file,cmd,arg,
__video_do_ioctl);

switch(cmd) {
/* --- capabilities ------------------------------------------ */
case VIDIOC_QUERYCAP:
Expand Down Expand Up @@ -1409,12 +1413,7 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
ret=vfd->vidioc_log_status(file, fh);
break;
}

/* --- Others --------------------------------------------- */

default:
ret=v4l_compat_translate_ioctl(inode,file,cmd,arg,__video_do_ioctl);
}
} /* switch */

if (vfd->debug & V4L2_DEBUG_IOCTL_ARG) {
if (ret<0) {
Expand Down

0 comments on commit 3808357

Please sign in to comment.