git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
625ff16
)
V4L/DVB (9646): em28xx: avoid allocating/dealocating memory on every control urb
author
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 18 Nov 2008 17:51:08 +0000
(14:51 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Thu, 20 Nov 2008 19:19:31 +0000
(17:19 -0200)
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 <mchehab@redhat.com>
No differences found