> From: Felipe Balbi [mailto:balbi@xxxxxx] > Sent: Monday, February 11, 2013 5:53 AM > > On Sat, Feb 09, 2013 at 07:37:49PM -0800, Paul Zimmerman wrote: > > +void dwc2_hcd_start(struct dwc2_hcd *hcd) > > +{ > > + u32 hprt0; > > + > > + if (hcd->op_state == B_HOST) { > > + /* > > + * Reset the port. During a HNP mode switch the reset > > + * needs to occur within 1ms and have a duration of at > > + * least 50ms. > > + */ > > + hprt0 = dwc2_read_hprt0(hcd); > > + hprt0 |= HPRT0_RST; > > + writel(hprt0, hcd->regs + HPRT0); > > + } > > + > > + queue_delayed_work(hcd->wq_otg, &hcd->start_work, msecs_to_jiffies(50)); > > we _do_ have a generic asychronous function call in the kernel for > driver initialization, can you use that instead ? Sorry, I guess you need to use a bigger cluebat here. Which function are you referring to? -- Paul -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html