]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
[media] vp702x: use preallocated buffer in vp702x_usb_inout_cmd
authorFlorian Mickler <florian@mickler.org>
Mon, 21 Mar 2011 10:19:13 +0000 (07:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 12:28:12 +0000 (09:28 -0300)
commitee52f120b0adc469f5c67815cef79ecdd01cfd14
tree53e9053e23c4dbd1185bbea6e7336f371c6e35aa
parent8ea793aa736137aa2453ce6877bb31a4b15dc28d
[media] vp702x: use preallocated buffer in vp702x_usb_inout_cmd

If we need a bigger buffer, we reallocte a new buffer and free the old
one.

Note: This change is tested to compile only as I don't have the
hardware.

Signed-off-by: Florian Mickler <florian@mickler.org>
Cc: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/vp702x.c