]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
[media] vp702x: get rid of on-stack dma buffers
authorFlorian Mickler <florian@mickler.org>
Mon, 21 Mar 2011 10:19:10 +0000 (07:19 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 12:28:08 +0000 (09:28 -0300)
commit57873c720caddf19eef2d5fe734575f7175abb48
tree94c3bfba53001f63d48b51f0e9251fcc0780849c
parentcf53b82d5d6eae920a1527b564f17c86e8118f0c
[media] vp702x: 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>
Cc: Patrick Boettcher <pb@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/vp702x-fe.c
drivers/media/dvb/dvb-usb/vp702x.c