[media] ce6230: get rid of on-stack dma buffer
authorFlorian Mickler <florian@mickler.org>
Sun, 20 Mar 2011 21:50:49 +0000 (18:50 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 12:28:17 +0000 (09:28 -0300)
commit029461dbea04f4b6943bd24b6ae7906f28593a2f
treef72516fbf2d6eaeb8835520a048e9bfa455e3df2
parent26b72c6e5a67ceef4c62c279d5952f723515d990
[media] ce6230: 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

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