]> git.baikalelectronics.ru Git - kernel.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)
commitb8ebfba8fdbc0998bae5aac537c03e8af50510f9
treeda367e3956a35c54636ef2ff3e060fc17ff64a25
parentd66cd5ec632ea05f534a2e5f3d9f09eb248810cc
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