summaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/host.h
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@linux.intel.com>2016-11-15 13:05:23 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-11-18 13:54:43 +0200
commitcaefe6c7be4778d0bddb38596ced1b60bd522b14 (patch)
treeec7d5aabf4df1bb4db1cde1cd2997eac06a0eae1 /drivers/usb/chipidea/host.h
parentd9fa4c63f7662c2e0aa8096250072f244f7737f2 (diff)
downloadop-kernel-dev-caefe6c7be4778d0bddb38596ced1b60bd522b14.zip
op-kernel-dev-caefe6c7be4778d0bddb38596ced1b60bd522b14.tar.gz
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>
Diffstat (limited to 'drivers/usb/chipidea/host.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud