]> bbs.cooldavid.org Git - net-next-2.6.git/commit
V4L/DVB (13829): uvcvideo: Fix alternate setting selection in isochronous mode
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 11 Dec 2009 00:19:31 +0000 (21:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 17 Jan 2010 13:31:35 +0000 (11:31 -0200)
commit2c4d9de8ab1434336248bbc01ee8e64d7e6b8a4f
treeda367e3956a35c54636ef2ff3e060fc17ff64a25
parent385097e08b9c24655626ed760bc67eb7e50115a0
V4L/DVB (13829): uvcvideo: Fix alternate setting selection in isochronous mode

Unlike assumed by the driver, alternate settings are not sorted by
endpoint max packet size. Iterate over all alternate settings to find
the one with the smallest compatible max packet size.

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