diff options
| author | Mian Yousaf Kaukab <[email protected]> | 2015-01-09 13:39:04 +0100 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2015-01-12 15:34:32 -0600 |
| commit | ca4c55ad89edb54b1eb04fe2d4c6915c9f8d69b9 (patch) | |
| tree | 50283d5ce9bde4d878b4493f88ad4d250304df4a /tools/perf/scripts/python/bin | |
| parent | 8a20fa457eb5a8d247fd82d4bd3c04225fd2f253 (diff) | |
usb: dwc2: gadget: pick smallest acceptable fifo
Current algorithm picks the first fifo which is equal to or greater
than the required size. This can result in bigger fifos assigned to
endpoints with smaller maxps. Change the algorithm to pick the
smallest fifo which is greater than or equal to the required size.
Moreover, only use signed variables when required.
Tested-by: Robert Baldyga <[email protected]>
Acked-by: Paul Zimmerman <[email protected]>
Signed-off-by: Mian Yousaf Kaukab <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions