V4L/DVB (13155): uvcvideo: Add a module parameter to set the streaming control timeout
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 9 Oct 2009 23:55:23 +0000 (20:55 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:40:37 +0000 (18:40 -0200)
commitb232a012adfea9f535702e8296ea6b76e691f436
treeda121594b0c5e6d95d399190266e8b2582b2f22a
parentc4ed8c66d79d707d89fe732ff5b97739edf1ba62
V4L/DVB (13155): uvcvideo: Add a module parameter to set the streaming control timeout

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>
drivers/media/video/uvc/uvc_driver.c
drivers/media/video/uvc/uvc_video.c
drivers/media/video/uvc/uvcvideo.h