From: Laurent Pinchart Date: Sun, 18 Jan 2009 20:46:30 +0000 (-0300) Subject: V4L/DVB (10295): uvcvideo: Retry URB buffers allocation when the system is low on... X-Git-Tag: v2.6.30-rc1~621^2~669 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=efdc8a9585ce02e70e538e46f235aefd63a3f8da;p=pandora-kernel.git V4L/DVB (10295): uvcvideo: Retry URB buffers allocation when the system is low on memory. 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: Johannes Berg Signed-off-by: Laurent Pinchart Reviewed-by: Johannes Berg Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed