V4L/DVB (13155): uvcvideo: Add a module parameter to set the streaming control timeout
commit692a97fe93dca8fd1e80f2d0baffa3aade767110
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 9 Oct 2009 23:55:23 +0000 (9 20:55 -0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 22:55:47 +0000 (1 15:55 -0700)
treea7e85f0fd4d667da694cf7eb3459d5286a3d323e
parentd8d6782349be3b550ebe438794c327b7373ce54e
V4L/DVB (13155): uvcvideo: Add a module parameter to set the streaming control timeout

commit b232a012adfea9f535702e8296ea6b76e691f436 upstream

The default streaming control timeout was found by Ondrej Zary to be too low
for some Logitech webcams. With kernel 2.6.22 and newer they would timeout
during initialization unles the audio function was initialized before the
video function.

Add a module parameter to set the streaming control timeout and increase the
default value from 1000ms to 3000ms to fix the above problem.

Thanks to Ondrej Zary for investigating the issue and providing an initial
patch.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/video/uvc/uvc_driver.c
drivers/media/video/uvc/uvc_video.c
drivers/media/video/uvc/uvcvideo.h