[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)
commitb430eaba0be5eb7140d0065df96982fa6b5ccc1d
treee8d9041dc807713c09d74b53b1485ad1dab0eb55
parentb5f93cb5133d3ad517afef541502c6c9aecf8e5d
[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