Messages in this thread | | | Date | Fri, 16 Nov 2012 04:47:11 -0800 | From | Greg KH <> | Subject | Re: [PATCH] usb: dwc3: core: move dwc3_cache_hwparams before dwc3_alloc_event_buffers |
| |
On Fri, Nov 16, 2012 at 10:17:19AM +0200, Felipe Balbi wrote: > Hi, > > On Fri, Nov 16, 2012 at 12:07:54PM +0530, Kishon Vijay Abraham I wrote: > > commit 392142 moved event buffer allocation out of dwc3_core_init() but > > event buffer allocation uses the cached copy of hwparams to determine > > the number of event buffers and the caching is done in dwc3_core_init. > > So moved dwc3_cache_hwparams function before dwc3_alloc_event_buffers so > > that dwc3_alloc_event_buffers sees the correct number of event buffers. > > > > Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com> > > My bad, what a regression I caused :-) > > Greg, can you take this one ?
Yes, will do.
| |