]> git.baikalelectronics.ru Git - kernel.git/commit
[media] flexcop-usb: don't use stack for DMA
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Mon, 10 Oct 2016 10:55:54 +0000 (07:55 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 14 Oct 2016 15:52:29 +0000 (12:52 -0300)
commitfb0d89e2c578cfec80963914306e3bff637fc3b3
treee8d9041dc807713c09d74b53b1485ad1dab0eb55
parentab869736f1185c38d0ff9150003b4ace3fe45ede
[media] flexcop-usb: don't use stack for DMA

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.

While here, remove a dead function calling usb_control_msg().

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