]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit362c9ffc1214dbc8bbde97651e19297bef4da927
tree7802398dc6c11d5b30adc830a68172d93b8f1d2b
parentd1faeef96a5212627ed3676a727f060c92aa7306
[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