]> git.baikalelectronics.ru Git - kernel.git/commit
[media] vp702x: preallocate memory on device probe
authorFlorian Mickler <florian@mickler.org>
Mon, 21 Mar 2011 10:19:08 +0000 (07:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 12:28:05 +0000 (09:28 -0300)
commit79dcbf934844be4f815eb2b5349a2d05172b29ed
tree281a8ff04d5e6af29030572f78cb14a4447441b6
parent99f0c7fc207f83b5d0b87db47a70b2247cebfa4f
[media] vp702x: preallocate memory on device probe

This sets up a buffer and a mutex protecting that buffer in
the struct vp702x_device_state.

The definition of struct vp702x_device_state is moved into the header
in order to use the buffer also in the frontend.

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
drivers/media/dvb/dvb-usb/vp702x.h