]> git.baikalelectronics.ru Git - 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)
commit2097b6017bfd31749e3a633f7c2f422ad61982da
tree53e9053e23c4dbd1185bbea6e7336f371c6e35aa
parent53cc8dc257607c587bd08aa63457f6fb70454a42
[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