[media] opera1: get rid of on-stack dma buffer
authorFlorian Mickler <florian@mickler.org>
Mon, 21 Mar 2011 18:33:46 +0000 (15:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 12:28:02 +0000 (09:28 -0300)
commit12fe2a6193df97b28f5ff9fd3f12d460e96c6a95
tree72639018f821d6adebc8359fab143005c6d7ec1a
parent513ea35ff9cd332abe650f5da3689bdb41824b43
[media] opera1: get rid of on-stack dma buffer

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/opera1.c