]> err.no Git - linux-2.6/commit
V4L/DVB (8209): uvcvideo: Don't free URB buffers on suspend.
authorLaurent Pinchart <laurent.pinchart@skynet.be>
Fri, 4 Jul 2008 03:36:21 +0000 (00:36 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 20 Jul 2008 10:17:45 +0000 (07:17 -0300)
commite01117c81676dc9897f567e32cdc13a26e85280b
tree371bc23453782045f5236daaf891110b0337f013
parent291358785cde5536d98a4f3cae77efd8ca626486
V4L/DVB (8209): uvcvideo: Don't free URB buffers on suspend.

All submitted URBs must be killed at suspend time, but URB buffers don't have
to be freed. Avoiding a free on suspend/reallocate on resume lowers the presure
on system memory.

Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/uvc/uvc_video.c
drivers/media/video/uvc/uvcvideo.h