commit | caefe6c7be4778d0bddb38596ced1b60bd522b14 | [log] [tgz] |
---|---|---|
author | Felipe Balbi <felipe.balbi@linux.intel.com> | Tue Nov 15 13:05:23 2016 +0200 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Fri Nov 18 13:54:43 2016 +0200 |
tree | ec7d5aabf4df1bb4db1cde1cd2997eac06a0eae1 | |
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 <felipe.balbi@linux.intel.com>