media: uvcvideo: Send a control event when a Control Change interrupt arrives
UVC defines a method of handling asynchronous controls, which sends a USB packet over the interrupt pipe. This patch implements support for such packets by sending a control event to the user. Since this can involve USB traffic and, therefore, scheduling, this has to be done in a work queue. 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>
Showing
- drivers/media/usb/uvc/uvc_ctrl.c 161 additions, 50 deletionsdrivers/media/usb/uvc/uvc_ctrl.c
- drivers/media/usb/uvc/uvc_status.c 107 additions, 14 deletionsdrivers/media/usb/uvc/uvc_status.c
- drivers/media/usb/uvc/uvc_v4l2.c 2 additions, 2 deletionsdrivers/media/usb/uvc/uvc_v4l2.c
- drivers/media/usb/uvc/uvcvideo.h 14 additions, 1 deletiondrivers/media/usb/uvc/uvcvideo.h
- include/uapi/linux/uvcvideo.h 2 additions, 0 deletionsinclude/uapi/linux/uvcvideo.h
Please register or sign in to comment