[media] a800: get rid of on-stack dma buffers
commit54f4e11ae3051ff7a921494be5106788db19dcf7
authorFlorian Mickler <florian@mickler.org>
Mon, 21 Mar 2011 18:33:41 +0000 (21 15:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 12:27:53 +0000 (20 09:27 -0300)
treef10ea437eedd792a090c2d6cacbfd1719a2d0f89
parentca73877587abfb8213c8eb21fec4f7d2bca36069
[media] a800: 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

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

Signed-off-by: Florian Mickler <florian@mickler.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/a800.c