|
@@ -425,7 +425,7 @@ static int usbhsg_recip_run_handle(struct usbhs_priv *priv,
|
|
|
struct usbhs_pipe *pipe;
|
|
struct usbhs_pipe *pipe;
|
|
|
int recip = ctrl->bRequestType & USB_RECIP_MASK;
|
|
int recip = ctrl->bRequestType & USB_RECIP_MASK;
|
|
|
int nth = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK;
|
|
int nth = le16_to_cpu(ctrl->wIndex) & USB_ENDPOINT_NUMBER_MASK;
|
|
|
- int ret;
|
|
|
|
|
|
|
+ int ret = 0;
|
|
|
int (*func)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
|
|
int (*func)(struct usbhs_priv *priv, struct usbhsg_uep *uep,
|
|
|
struct usb_ctrlrequest *ctrl);
|
|
struct usb_ctrlrequest *ctrl);
|
|
|
char *msg;
|
|
char *msg;
|