V4L/DVB (13154): uvcvideo: Handle garbage at the end of streaming interface descriptors
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Thu, 8 Oct 2009 22:38:10 +0000 (19:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:40:36 +0000 (18:40 -0200)
commitc4ed8c66d79d707d89fe732ff5b97739edf1ba62
tree4a316dff13cce8e2b830e955076b5dd3764b2414
parentfd1b6bbb4a54a232ae6a1e5e4a6fbe3507ed5142
V4L/DVB (13154): uvcvideo: Handle garbage at the end of streaming interface descriptors

At least one 5986:0241 webcam model includes vendor-specific descriptors
at the end of its streaming interface descriptors. Print an information
UVC_TRACE_DESCR message and try to continue parsing the descriptors
rather than bailing out with an error.

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