]> git.baikalelectronics.ru Git - kernel.git/commit
[media] af9005: don't do DMA on stack
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 5 Oct 2016 09:46:49 +0000 (06:46 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 14 Oct 2016 15:34:08 +0000 (12:34 -0300)
commitb1deb0fb27b6ac06f15c4b689a4237b48e034919
tree7d0f13836e6544afc78466c048ded0f58dc6b97f
parent3688dcdd3c92c4ec5ceb2e5e5f18bda5bc493afa
[media] af9005: 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.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/dvb-usb/af9005.c