Hi,

On Mon, Sep 29, 2014 at 05:59:42PM +0000, Paul Zimmerman wrote:
> > diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
> > index 68497b3..112352e 100644
> > --- a/drivers/usb/dwc3/gadget.c
> > +++ b/drivers/usb/dwc3/gadget.c
> > @@ -1577,6 +1577,13 @@ static int dwc3_gadget_start(struct usb_gadget *g,
> >     }
> >     dwc3_writel(dwc->regs, DWC3_DCFG, reg);
> > 
> > +   if (dwc->has_lpm_erratum) {
> > +           reg = dwc3_readl(dwc->regs, DWC3_DCTL);
> > +           /* REVISIT should this be configurable ? */
> > +           reg |= DWC3_DCTL_LPM_ERRATA(0xf);
> > +           dwc3_writel(dwc->regs, DWC3_DCTL, reg);
> > +   }
> 
> Yes, I think this really wants to be configurable. The value used is
> supposed to depend on the latencies in the system etc.

alright, in that case we need to pass that through DT/pdata as well.

-- 
balbi

Attachment: signature.asc
Description: Digital signature

Reply via email to