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: NJassi Brar <jaswinder.singh@linaro.org> Acked-by: NLaurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: NGreg Kroah-Hartman <gregkh@suse.de>
Showing
想要评论请 注册 或 登录