2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00
linux-next/drivers/media/video/uvc
Ming Lei d59a7b1dbc [media] uvcvideo: Set alternate setting 0 on resume if the bus has been reset
If the bus has been reset on resume, set the alternate setting to 0.
This should be the default value, but some devices crash or otherwise
misbehave if they don't receive a SET_INTERFACE request before any other
video control request.

Microdia's 0c45:6437 camera has been found to require this change or it
will stop sending video data after resume.

uvc_video.c]

Signed-off-by: Ming Lei <ming.lei@canonical.com>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2011-08-06 10:42:15 -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 [media] uvcvideo: Register subdevices for each entity 2011-05-25 19:50:58 -03:00
uvc_ctrl.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2011-07-30 00:08:53 -07:00
uvc_driver.c [media] uvcvideo: Set alternate setting 0 on resume if the bus has been reset 2011-08-06 10:42:15 -03:00
uvc_entity.c [media] uvcvideo: Ignore entities for terminals with no supported format 2011-06-30 23:18:13 -03:00
uvc_isight.c [media] uvcvideo: Update e-mail address and copyright notices 2010-10-21 01:18:18 -02:00
uvc_queue.c atomic: use <linux/atomic.h> 2011-07-26 16:49:47 -07:00
uvc_status.c [media] uvcvideo: Update e-mail address and copyright notices 2010-10-21 01:18:18 -02:00
uvc_v4l2.c Merge branch 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6 2011-07-30 00:08:53 -07:00
uvc_video.c [media] uvcvideo: Set alternate setting 0 on resume if the bus has been reset 2011-08-06 10:42:15 -03:00
uvcvideo.h [media] uvcvideo: Set alternate setting 0 on resume if the bus has been reset 2011-08-06 10:42:15 -03:00