[media] ec168: get rid of on-stack dma buffers
authorFlorian Mickler <florian@mickler.org>
Sun, 20 Mar 2011 21:50:48 +0000 (18:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 12:28:16 +0000 (09:28 -0300)
commit26b72c6e5a67ceef4c62c279d5952f723515d990
treebbb00d58967e18e59c0b429bb29d078eb2b1f993
parent60f81f12fa63213567b0b40546faa82b8f5d5b0c
[media] ec168: get rid of on-stack dma buffers

usb_control_msg initiates (and waits for completion of) a dma transfer using
the supplied buffer. That buffer thus has to be seperately allocated on
the heap.

In lib/dma_debug.c the function check_for_stack even warns about it:
WARNING: at lib/dma-debug.c:866 check_for_stack

Signed-off-by: Florian Mickler <florian@mickler.org>
Acked-by: Antti Palosaari <crope@iki.fi>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Tested-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/ec168.c