/* Sets the halt feature with the clear requests ignored  */
static int musb_gadget_set_wedge(struct usb_ep *ep)
/* Sets the halt feature with the clear requests ignored  */
static int musb_gadget_set_wedge(struct usb_ep *ep)
{
	struct musb_ep		*musb_ep = to_musb_ep(ep);
	if (!ep)
		return -EINVAL;
	musb_ep->wedged = 1;
	return usb_ep_set_halt(ep);
}