]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/media/video/videodev.c
V4L/DVB (7665): videodev: Add default vidioc handler
[linux-2.6-omap-h63xx.git] / drivers / media / video / videodev.c
index effcd2ae4152db573e773e10c35d9f5b224f924c..31e8af0ba2785e105e60587b8153602b948f55eb 100644 (file)
@@ -1861,6 +1861,13 @@ static int __video_do_ioctl(struct inode *inode, struct file *file,
                        dbgarg (cmd, "chip_ident=%u, revision=0x%x\n", p->ident, p->revision);
                break;
        }
+       default:
+       {
+               if (!vfd->vidioc_default)
+                       break;
+               ret = vfd->vidioc_default(file, fh, cmd, arg);
+               break;
+       }
        } /* switch */
 
        if (vfd->debug & V4L2_DEBUG_IOCTL_ARG) {