]> bbs.cooldavid.org Git - net-next-2.6.git/commit - drivers/media/video/uvc/uvcvideo.h
V4L/DVB: uvcvideo: Restrict frame rates for Chicony CNF7129 webcam
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 16 Sep 2010 15:37:26 +0000 (12:37 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 28 Sep 2010 01:22:13 +0000 (22:22 -0300)
commit86d8b6abbbc973a1dd7d3c8f9e3c3e06131703b2
tree26894e80d676b5cecbe705437242db2f23e48c06
parent9275b32bced808bd57bdf3884748ed1126ba90e0
V4L/DVB: uvcvideo: Restrict frame rates for Chicony CNF7129 webcam

At all frame rates except 30fps and 5fps the camera produces very dark
pictures. Auto-exposure is probably disabled by the camera at all frame
rates except 30fps, making them pretty unusable.

Work around the problem by introducing a new RESTRICT_FRAME_RATE quirk
that disables all the frame rates except the default one.

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/uvcvideo.h