From: Mauro Carvalho Chehab Date: Tue, 18 Nov 2008 17:51:08 +0000 (-0300) Subject: V4L/DVB (9646): em28xx: avoid allocating/dealocating memory on every control urb X-Git-Tag: v2.6.28-rc7~1^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4a98793a63c423c9e1af51822325969e23c16d4;p=pandora-kernel.git V4L/DVB (9646): em28xx: avoid allocating/dealocating memory on every control urb Before this patch, every register setup on em28xx were dynamically allocating a temporary buffer for control URB's to be handled. To avoid this ping-pong, use, instead a pre-allocated buffer. Also, be sure that read control URB's also use the buffer, instead of relying on a stack buffer. Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed