diff options
author | Felipe F. Tonello <[email protected]> | 2016-08-08 21:30:06 +0100 |
---|---|---|
committer | Felipe Balbi <[email protected]> | 2016-08-25 12:13:14 +0300 |
commit | e0466156ee2e944fb47a3fa00932c3698a6d2c67 (patch) | |
tree | f947729434d5042df8ebeb2ca86def77ec67fa9f /tools/perf/scripts/python/stackcollapse.py | |
parent | 69bb99738b5c6d56d2b1a75db9cbb4d187453c1a (diff) |
usb: gadget: align buffer size when allocating for OUT endpoint
Using usb_ep_align() makes sure that the buffer size for OUT endpoints is
always aligned with wMaxPacketSize (512 usually). This makes sure
that no buffer has the wrong size, which can cause nasty bugs.
Signed-off-by: Felipe F. Tonello <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions