diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2010-02-26 15:23:10 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 07:53:45 (GMT) |
commit | c30b46e58b31a0fc420049e21117444862fc7cb7 (patch) | |
tree | 684db5e6880fa8df24df1893be2478c0d455fe27 /drivers/media/video/v4l2-subdev.c | |
parent | cfe2cde6d33f15994ad34466ac4a08f5bb348948 (diff) | |
download | linux-c30b46e58b31a0fc420049e21117444862fc7cb7.tar.xz |
[media] v4l: subdev: Generic ioctl support
Instead of returning an error when receiving an ioctl call with an
unsupported command, forward the call to the subdev core::ioctl handler.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/v4l2-subdev.c')
-rw-r--r-- | drivers/media/video/v4l2-subdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/v4l2-subdev.c b/drivers/media/video/v4l2-subdev.c index 6e76f73..0b80644 100644 --- a/drivers/media/video/v4l2-subdev.c +++ b/drivers/media/video/v4l2-subdev.c @@ -276,7 +276,7 @@ static long subdev_do_ioctl(struct file *file, unsigned int cmd, void *arg) } #endif default: - return -ENOIOCTLCMD; + return v4l2_subdev_call(sd, core, ioctl, cmd, arg); } return 0; |