]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cinergyT2-fe: don't do DMA on stack
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 7 Oct 2016 09:16:59 +0000 (06:16 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 14 Oct 2016 15:36:52 +0000 (12:36 -0300)
commitd1dcd5c83169f0563a6358fc89d7801445700c66
tree58162a740167c7613bb8945f6c7865d9e23ea348
parente0335d4b5fa444e83a481326328e24bf6d161094
[media] cinergyT2-fe: 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/cinergyT2-fe.c