linux/drivers/media/usb/uvc
Guennadi Liakhovetski 8e7a1dbc7b media: uvcvideo: Handle control pipe protocol STALLs
When a command ends up in a STALL on the control pipe, use the Request
Error Code control to provide a more precise error information to the
user. For example, if a camera is still busy processing a control,
when the same or an interrelated control set request arrives, the
camera can react with a STALL and then return the "Not ready" status
in response to a UVC_VC_REQUEST_ERROR_CODE_CONTROL command. With this
patch the user would then get an EBUSY error code instead of a
generic EPIPE.

Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@intel.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-07-27 06:39:57 -04:00
..
Kconfig
Makefile media: uvcvideo: Add a metadata device node 2018-01-04 06:41:47 -05:00
uvc_ctrl.c media: uvcvideo: Remove a redundant check 2018-07-27 06:39:57 -04:00
uvc_debugfs.c [media] uvcvideo: Change result code of debugfs_init to void 2017-01-31 10:56:48 -02:00
uvc_driver.c media: uvcvideo: Add KSMedia 8-bit IR format support 2018-07-27 06:39:57 -04:00
uvc_entity.c media: uvcvideo: Constify video_subdev structures 2017-08-20 08:10:24 -04:00
uvc_isight.c media: uvcvideo: Use internal kernel integer types 2018-02-23 02:20:52 -05:00
uvc_metadata.c media: uvcvideo: Add a metadata device node 2018-01-04 06:41:47 -05:00
uvc_queue.c media updates for v4.16-rc1 2018-02-06 11:27:48 -08:00
uvc_status.c media: uvcvideo: Use internal kernel integer types 2018-02-23 02:20:52 -05:00
uvc_v4l2.c media: uvc: to the right check at uvc_ioctl_enum_framesizes() 2018-03-23 08:37:27 -04:00
uvc_video.c media: uvcvideo: Handle control pipe protocol STALLs 2018-07-27 06:39:57 -04:00
uvcvideo.h media: uvcvideo: Add KSMedia 8-bit IR format support 2018-07-27 06:39:57 -04:00