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)
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>

No differences found