diff options
author | Igor Kotrasinski <[email protected]> | 2015-09-15 16:55:32 +0200 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2015-09-21 14:42:36 -0500 |
commit | 9a9ce1dfaef9aa15980cec22b806b39a65a9467e (patch) | |
tree | f5bafcb806b1fed4199e07c69612c37f62342684 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | e42bd6a54b97e2a39b5004deac66a0fcd6ebbe75 (diff) |
usb: gadget: dummy_hcd: in transfer(), return data sent, not limit
dummy_timer uses transfer() to update transfer limit. However,
limit passed to dummy_timer changes depending on transfer type,
so the actual limit is overwritten.
This can cause unpredictably slow / fast bulk transfers when
coupled with control / interrupt transfers.
Fix by returning actual amount of data sent in transfer() and
substracting from total.
Signed-off-by: Igor Kotrasinski <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions