summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca/sonixj.c
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2008-11-18 15:51:08 -0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-11-18 15:51:08 -0200
commitae01a3498c4c64115313788ab68a8a99c7e8de6e (patch)
tree50130794737a0b77f3183b41f95d8e45357ff16c /linux/drivers/media/video/gspca/sonixj.c
parenta370946d785e65e0ded57703e7e4981631ad9012 (diff)
downloadmediapointer-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/drivers/media/video/gspca/sonixj.c')
0 files changed, 0 insertions, 0 deletions