-
由 Laurent Pinchart 提交于
URB buffers for video transfers are sized to UVC_MAX_PACKETS bulk/isochronous packets by default. If the system is too low on memory try successively smaller numbers of packets until allocation succeeds. Tested-by: NJohannes Berg <johannes@sipsolutions.net> Signed-off-by: NLaurent Pinchart <laurent.pinchart@skynet.be> Reviewed-by: NJohannes Berg <johannes@sipsolutions.net> Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
efdc8a95