diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2012-11-16 12:07:54 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-11-16 04:47:52 -0800 |
commit | 4fd24483d1de7a3c183fa862fa9ff13b49361966 (patch) | |
tree | a5607ff11ad2d38b8fcf76332d44df429778188e /drivers/usb/serial/keyspan.c | |
parent | ac96511bb5cf92bad97ffc2249f75e45eb70301d (diff) | |
download | linux-4fd24483d1de7a3c183fa862fa9ff13b49361966.tar.gz linux-4fd24483d1de7a3c183fa862fa9ff13b49361966.tar.bz2 linux-4fd24483d1de7a3c183fa862fa9ff13b49361966.zip |
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 <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/keyspan.c')
0 files changed, 0 insertions, 0 deletions