]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit1c1f7e85392973ba0bb0700d329f667bfdbccd0d
treed7397433bd2745f18491385eb2d084619721eaf6
parentd1dcd5c83169f0563a6358fc89d7801445700c66
[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