/* set_ep0state - Set ep0 automata state @dev: udc device @state: state  */
static void set_ep0state(struct pxa_udc *udc, int state)
/* set_ep0state - Set ep0 automata state @dev: udc device @state: state  */
static void set_ep0state(struct pxa_udc *udc, int state)
{
	struct pxa_ep *ep = &udc->pxa_ep[0];
	char *old_stname = EP0_STNAME(udc);
	udc->ep0state = state;
	ep_dbg(ep, "state=%s->%s, udccsr0=0x%03x, udcbcr=%d\n", old_stname,
		EP0_STNAME(udc), udc_ep_readl(ep, UDCCSR),
		udc_ep_readl(ep, UDCBCR));
}