summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/tda7432.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-11-18 18:51:08 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-11-20 20:19:31 +0100
commitc4a98793a63c423c9e1af51822325969e23c16d4 (patch)
tree9711b371b6eb6ba1ffa9a8201f3528308526cd00 /drivers/media/video/tda7432.c
parentV4L/DVB (9645): em28xx: Avoid memory leaks if registration fails (diff)
downloadlinux-c4a98793a63c423c9e1af51822325969e23c16d4.tar.xz
linux-c4a98793a63c423c9e1af51822325969e23c16d4.zip
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 <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/tda7432.c')
0 files changed, 0 insertions, 0 deletions