USB: Gadget: Webcam: Return correct result of bind
authorJassi Brar <jaswinder.singh@linaro.org>
Fri, 24 Jun 2011 18:47:26 +0000 (00:17 +0530)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Jul 2011 21:45:42 +0000 (14:45 -0700)
commit28f75f4db1e5ea1366375b2a6c40d66659e0e7ec
tree5c4dd50d0843276665a6516237ff10cb90f54039
parent5030ec730279eabafccf862f3c8393af90c258a5
USB: Gadget: Webcam: Return correct result of bind

The config bind was reported success even if usb_add_function
failed. Fix the return value.

Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/f_uvc.c
This page took 0.024569 seconds and 5 git commands to generate.