Skip to content
Commit caefe6c7 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

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: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent d9fa4c63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment