summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/function/Makefile
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz2014-12-10 12:34:01 +0100
committerFelipe Balbi2015-01-12 19:13:26 +0100
commit6c25955ed632227d28b85db274e519b766e26ddd (patch)
tree1f4e689e4c0a02b254bc36b34e8bcd238c6bc856 /drivers/usb/gadget/function/Makefile
parentusb: gadget: f_uvc: rename a macro to avoid conflicts (diff)
downloadkernel-qcow2-linux-6c25955ed632227d28b85db274e519b766e26ddd.tar.gz
kernel-qcow2-linux-6c25955ed632227d28b85db274e519b766e26ddd.tar.xz
kernel-qcow2-linux-6c25955ed632227d28b85db274e519b766e26ddd.zip
usb: gadget: uvc: verify descriptors presence
If the caller of uvc_alloc() does not provide enough descriptors, binding the function should fail, so appropriate code is returned from uvc_copy_descriptors(). uvc_function_bind() is modified accordingly to account for possible errors from uvc_copy_descriptors(). Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/function/Makefile')
0 files changed, 0 insertions, 0 deletions