diff options
| author | Felipe Balbi <[email protected]> | 2016-11-15 13:05:23 +0200 |
|---|---|---|
| committer | Felipe Balbi <[email protected]> | 2016-11-18 13:54:43 +0200 |
| commit | caefe6c7be4778d0bddb38596ced1b60bd522b14 (patch) | |
| tree | ec7d5aabf4df1bb4db1cde1cd2997eac06a0eae1 /tools | |
| parent | d9fa4c63f7662c2e0aa8096250072f244f7737f2 (diff) | |
usb: dwc3: gadget: use evt->length as we should
Instead of always accessing the macro directly,
let's rely on evt->length which is the actual length
of current event buffer. While unlikely, we could
change event buffer's size at any time.
Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions