[media] cinergyT2-core: don't do DMA on stack
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 5 Oct 2016 09:02:19 +0000 (06:02 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 14 Oct 2016 15:35:07 +0000 (12:35 -0300)
commit5ef8ed0e5608f75805e41ef8abbe94a3597e6613
tree0fce87fb05b262ff90bc15646fe75a4a97b779c2
parentc58b84ee467bfd08b39fbda56757ba19ac50980a
[media] cinergyT2-core: 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-core.c