[media] digitv: don't do DMA on stack
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 7 Oct 2016 10:55:38 +0000 (07:55 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 14 Oct 2016 15:40:47 +0000 (12:40 -0300)
commitf0b0ada7184cca44bb5ae96903eca304cc20eec5
treebd4cee4e17877461a501b70a2e7c6fb9652291be
parentff1c123545d706c6e414132c9fc93e345f5141da
[media] digitv: 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/digitv.c
drivers/media/usb/dvb-usb/digitv.h