From: Florian Mickler Date: Mon, 21 Mar 2011 18:33:43 +0000 (-0300) Subject: [media] friio: get rid of on-stack dma buffers X-Git-Tag: v3.0-rc1~322^2~178 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e4e7208e6b33816c457292ee771da3a5779027b;p=pandora-kernel.git [media] friio: 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 Cc: Akihiro Tsukada Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed