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)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 9 Dec 2010 21:27:08 +0000 (13:27 -0800)
commit37e3dd40d5881f833b251301a59413a43edbaf60
tree96c04420a55570e2e0e8d8272849576876e61832
parente7b55a38fac2321d115fc71dca03d13de1a216b7
V4L/DVB (13154): uvcvideo: Handle garbage at the end of streaming interface descriptors

commit c4ed8c66d79d707d89fe732ff5b97739edf1ba62 upstream.

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>
Cc: maximilian attems <max@stro.at>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/media/video/uvc/uvc_driver.c