summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDevdutt Patnaik <dpatnaik@codeaurora.org>2016-05-19 14:22:37 -0700
committerKyle Yan <kyan@codeaurora.org>2016-05-24 17:55:14 -0700
commita75c7c67bdac183a6516148a6955c5f412539e85 (patch)
tree2fd8722b2f55cb3a391e68ceaaf0d5ce5fa77093 /tools/perf/scripts/python/bin
parentd920806870fdb511b977c9f9ac65883d8b33b73e (diff)
usb: gadget: Iterate over all IN EPs for allocation of TX FIFOs
GSI EPs are assigned to the last 2 IN EPs. While allocating the TX FIFO sizes we need to iterate over all IN EPs to correctly allocate larger TX FIFOs for GSI accelerated endpoints. Update the logic from using min_t(int, dwc->num_in_eps, cdev->config->num_ineps_used + 1) to just use dwc->num_in_eps. The EPs that are not enabled will be given the default TX FIFO size while the ones that are enabled are given TX FIFO sizes based on the burst size configured for that EP. Change-Id: Ie9a21544966fb54cf9920e9c719309cc66157846 Signed-off-by: Devdutt Patnaik <dpatnaik@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions