V4L/DVB (11835): uvcvideo: Parse frame descriptors with non-continuous indexes.
authorLaurent Pinchart <laurent.pinchart@skynet.be>
Wed, 6 May 2009 15:30:30 +0000 (12:30 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 16 Jun 2009 21:21:10 +0000 (18:21 -0300)
commit078f8947926732a526fb280c0f3a8920bf173b9c
treee0984df189bde0ae2223e45d65b25ec9d023928c
parent86cf5f84e60fe32e3e665fdc69325f8993970189
V4L/DVB (11835): uvcvideo: Parse frame descriptors with non-continuous indexes.

The UVC specification requires frame descriptors indexes to range from 1 to
the number of frame descriptors. At least some Hercules Dualpix Infinite
webcams erroneously use non-continuous index ranges. Make the driver support
them.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_driver.c
drivers/media/video/uvc/uvc_video.c