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