V4L/DVB: uvcvideo: Don't use stack-based buffers for USB transfers
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Fri, 18 Jun 2010 14:31:24 +0000 (11:31 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 2 Aug 2010 18:34:10 +0000 (15:34 -0300)
Data buffers on the stack are not allowed for USB I/O. Use dynamically
allocated buffers instead when querying control length and control
capabilities.

The control capabilities are now also stored in the uvc_control
structure.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

No differences found