diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-18 15:51:08 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-11-18 15:51:08 -0200 |
commit | ae01a3498c4c64115313788ab68a8a99c7e8de6e (patch) | |
tree | 50130794737a0b77f3183b41f95d8e45357ff16c /linux/sound/oss | |
parent | a370946d785e65e0ded57703e7e4981631ad9012 (diff) | |
download | mediapointer-dvb-s2-ae01a3498c4c64115313788ab68a8a99c7e8de6e.tar.gz mediapointer-dvb-s2-ae01a3498c4c64115313788ab68a8a99c7e8de6e.tar.bz2 |
em28xx: avoid allocating/dealocating memory on every control urb
From: Mauro Carvalho Chehab <mchehab@redhat.com>
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.
Priority: high
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/sound/oss')
0 files changed, 0 insertions, 0 deletions