[media] nova-t-usb2: don't do DMA on stack
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 7 Oct 2016 14:38:46 +0000 (11:38 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 14 Oct 2016 15:46:06 +0000 (12:46 -0300)
commitc3a66e9f465e7e792dff6ccd571bc657e6504c7b
tree7802398dc6c11d5b30adc830a68172d93b8f1d2b
parentf1a503dddf4d4da2b7bbf6ae4e92527bdc265bb9
[media] nova-t-usb2: 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/nova-t-usb2.c