diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2012-08-28 23:38:58 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-11-28 13:28:37 +0100 |
commit | 69d11262a3ff4c07e071523e6768ec15ccc147c1 (patch) | |
tree | 9f9a3863369746fe99ec2fc181a5bb8ef1b65324 /drivers/media/usb/uvc/uvcvideo.h | |
parent | [media] uvcvideo: Set device_caps in VIDIOC_QUERYCAP (diff) | |
download | linux-69d11262a3ff4c07e071523e6768ec15ccc147c1.tar.xz linux-69d11262a3ff4c07e071523e6768ec15ccc147c1.zip |
[media] uvcvideo: Return -ENOTTY for unsupported ioctls
The proper error code is -ENOTTY instead of -EINVAL.
This issue was found by the v4l2-compliance tool.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/usb/uvc/uvcvideo.h')
0 files changed, 0 insertions, 0 deletions