linux-kernel-test/drivers/media/video/uvc
Laurent Pinchart 8a4e76c14c V4L/DVB: uvcvideo: Return -ERANGE when setting a control to an out-of-range menu index
The V4L2 specification states that out of bounds control values must
either be clamped to the valid range or result in a -ERANGE error code.

Fix the driver to return -ERANGE instead of -EINVAL when setting a menu
control to an invalid value.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2010-02-26 15:11:04 -03:00
..
Kconfig V4L/DVB (11439): UVC: uvc_status_cleanup(): undefined reference to `input_unregister_device' 2009-04-06 21:44:52 -03:00
Makefile
uvc_ctrl.c V4L/DVB: uvcvideo: Return -ERANGE when setting a control to an out-of-range menu index 2010-02-26 15:11:04 -03:00
uvc_driver.c V4L/DVB: uvcvideo: Use %pUl printk format specifier to print GUIDs 2010-02-26 15:11:04 -03:00
uvc_isight.c V4L/DVB (12378): uvcvideo: Restructure the driver to support multiple simultaneous streams. 2009-09-12 12:18:32 -03:00
uvc_queue.c V4L/DVB (13827): uvcvideo: Switch to a monotonic clock for V4L2 buffers timestamps 2010-02-26 15:10:24 -03:00
uvc_status.c V4L/DVB (12380): uvcvideo: Avoid flooding the kernel log with "unknown event type" messages 2009-08-13 20:39:05 -03:00
uvc_v4l2.c V4L/DVB (13506): uvcvideo: Factorize common field in uvc_entity structure 2009-12-05 18:42:13 -02:00
uvc_video.c V4L/DVB (13827): uvcvideo: Switch to a monotonic clock for V4L2 buffers timestamps 2010-02-26 15:10:24 -03:00
uvcvideo.h V4L/DVB: uvcvideo: Use %pUl printk format specifier to print GUIDs 2010-02-26 15:11:04 -03:00