[media] cpia2_usb: don't use stack for DMA
authorMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 10 Oct 2016 11:28:26 +0000 (08:28 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 14 Oct 2016 15:52:27 +0000 (12:52 -0300)
commit45ae4a5220a43ae79dacb69054a2c7928dd91c94
tree88bdc0d3765e5f795c4362a8686b8cd3e8bb163c
parent3dadf91cb830ac3a6992e539d82ec604fffe8671
[media] cpia2_usb: don't use stack for DMA

The USB control messages require DMA to work. We cannot pass
a stack-allocated buffer, as it is not warranted that the
stack would be into a DMA enabled area.

Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/cpia2/cpia2_usb.c