]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit89cceeb5e792a7ee5294b4de7b99d4073306fda6
tree283fd9095e0ecffbf1d8e9cbdbdc325191032655
parentec98b4b10369affc85e0587d3c8047ee0ad15bc3
[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