diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-09-05 14:36:13 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-10-19 10:38:05 +0300 |
commit | 502a37b98a7bd45a198139e52671833469720c38 (patch) | |
tree | 0f9068402dd5ac16350f27f74200bdc8435c0a43 /drivers/usb/dwc3/core.h | |
parent | 64e01080299784692ff291099cd8a5ee72e66d98 (diff) | |
download | linux-502a37b98a7bd45a198139e52671833469720c38.tar.gz linux-502a37b98a7bd45a198139e52671833469720c38.tar.bz2 linux-502a37b98a7bd45a198139e52671833469720c38.zip |
usb: dwc3: gadget: cache frame number in struct dwc3_ep
This is in preparation to simplifying prototype of
__dwc3_gadget_kick_transfer().
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3/core.h')
-rw-r--r-- | drivers/usb/dwc3/core.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/core.h b/drivers/usb/dwc3/core.h index ea910acb4bb0..e33cc10121be 100644 --- a/drivers/usb/dwc3/core.h +++ b/drivers/usb/dwc3/core.h @@ -529,6 +529,7 @@ struct dwc3_event_buffer { * @number: endpoint number (1 - 15) * @type: set to bmAttributes & USB_ENDPOINT_XFERTYPE_MASK * @resource_index: Resource transfer index + * @frame_number: set to the frame number we want this transfer to start (ISOC) * @interval: the interval on which the ISOC transfer is started * @allocated_requests: number of requests allocated * @queued_requests: number of requests queued for transfer @@ -581,6 +582,7 @@ struct dwc3_ep { u8 resource_index; u32 allocated_requests; u32 queued_requests; + u32 frame_number; u32 interval; char name[20]; |