mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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>
This commit is contained in:
parent
d9fa4c63f7
commit
caefe6c7be
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue