diff options
| -rw-r--r-- | drivers/usb/gadget/f_obex.c | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/drivers/usb/gadget/f_obex.c b/drivers/usb/gadget/f_obex.c index 29a348a2a294..8aa2be5329bc 100644 --- a/drivers/usb/gadget/f_obex.c +++ b/drivers/usb/gadget/f_obex.c @@ -348,6 +348,7 @@ static int obex_bind(struct usb_configuration *c, struct usb_function *f)  	/* allocate instance-specific endpoints */ +	status = -ENODEV;  	ep = usb_ep_autoconfig(cdev->gadget, &obex_fs_ep_in_desc);  	if (!ep)  		goto fail; | 
