From: Kishon Vijay Abraham I Date: Fri, 16 Nov 2012 06:37:54 +0000 (+0530) Subject: usb: dwc3: core: move dwc3_cache_hwparams before dwc3_alloc_event_buffers X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~82^2~39 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fd24483d1de7a3c183fa862fa9ff13b49361966;p=pandora-kernel.git usb: dwc3: core: move dwc3_cache_hwparams before dwc3_alloc_event_buffers 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 Signed-off-by: Felipe Balbi Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed