[media] cxusb: don't do DMA on stack
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 7 Oct 2016 09:30:27 +0000 (06:30 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 14 Oct 2016 15:37:19 +0000 (12:37 -0300)
commit17ce039b4e5405c49d8c0d64e6d781cc6f4dc1ac
treed7397433bd2745f18491385eb2d084619721eaf6
parent0d43c0ff8b7e0a76136c602625efa5e6919baf9c
[media] cxusb: don't do DMA on stack

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.

Reviewed-by: Patrick Boettcher <patrick.boettcher@posteo.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/dvb-usb/cxusb.c
drivers/media/usb/dvb-usb/cxusb.h