V4L/DVB (9569): uvcvideo: Sort the frame descriptors during parsing
commitc9535db3d23c56db50fe4e65542bf1c7f0a4681c
authorLaurent Pinchart <laurent.pinchart@skynet.be>
Sat, 8 Nov 2008 21:53:49 +0000 (8 18:53 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 29 Dec 2008 19:53:30 +0000 (29 17:53 -0200)
tree92312dbe1558a2a0b2b6e5bbf9b70573f18012b6
parent2f38483bc45e11dc138cedce72135f57819f57c4
V4L/DVB (9569): uvcvideo: Sort the frame descriptors during parsing

The UVC specification does not require frame descriptors to be sorted by
bFrameIndex. At least one camera (145f:013e) is known not to sort the
descriptors properly, so they need to be sorted during parsing as the driver
then accesses them by index.

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