]> 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)
commitb5710fcc3e7bec5b3ad3aa01b4a29c7a4277d82c
tree58162a740167c7613bb8945f6c7865d9e23ea348
parent6b13ade10d33a304db1200c8004a429243893033
[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