]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4893ef470abbabb14d0872e3e96bfd825d36d043
treeda121594b0c5e6d95d399190266e8b2582b2f22a
parent86275e0f429425261140b6ea70dd43eaa804b78f
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