[media] uvc gadget: set device_caps in querycap
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 17 Feb 2015 08:44:08 +0000 (05:44 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 2 Mar 2015 20:06:19 +0000 (17:06 -0300)
commit06e5cc3d0d70a278baa7b9e1f466cd94b4a4285b
tree101798552d41c6da3ae29beb0bee30eacab1f2e0
parent9945eb9fad4edba2893d15cd720a702e6281ce19
[media] uvc gadget: set device_caps in querycap

The V4L2 core will warn if this is not done. Unfortunately this driver
wasn't updated.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/usb/gadget/function/uvc_v4l2.c