aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/videodev.c
diff options
context:
space:
mode:
authorDouglas Schilling Landgraf <dougsland@gmail.com>2008-04-10 00:18:56 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 13:09:45 -0400
commit130ca945d83637046bde4943629f011e22831fd3 (patch)
treea93e328a715c8c26c4b3d8563fc2a6b479f947e7 /drivers/media/video/videodev.c
parent87dd965f101bafea7c5e507f686814a0f0057417 (diff)
V4L/DVB (7665): videodev: Add default vidioc handler
Added default vidioc handler for other private ioctls Signed-off-by: Douglas Schilling Landgraf <dougsland@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/videodev.c')
-rw-r--r--drivers/media/video/videodev.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/video/videodev.c b/drivers/media/video/videodev.c
index effcd2ae4152..31e8af0ba278 100644
--- a/drivers/media/video/videodev.c
+++ b/drivers/media/video/videodev.c
@@ -1861,6 +1861,13 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
1861 dbgarg (cmd, "chip_ident=%u, revision=0x%x\n", p->ident, p->revision); 1861 dbgarg (cmd, "chip_ident=%u, revision=0x%x\n", p->ident, p->revision);
1862 break; 1862 break;
1863 } 1863 }
1864 default:
1865 {
1866 if (!vfd->vidioc_default)
1867 break;
1868 ret = vfd->vidioc_default(file, fh, cmd, arg);
1869 break;
1870 }
1864 } /* switch */ 1871 } /* switch */
1865 1872
1866 if (vfd->debug & V4L2_DEBUG_IOCTL_ARG) { 1873 if (vfd->debug & V4L2_DEBUG_IOCTL_ARG) {