summaryrefslogtreecommitdiffstats
path: root/drivers/usb/dwc2/core.h
diff options
context:
space:
mode:
authorVardan Mikayelyan <mvardan@synopsys.com>2016-05-26 03:07:07 +0200
committerFelipe Balbi <felipe.balbi@linux.intel.com>2016-06-21 09:49:29 +0200
commit142bd33fcd185d850178f7f8697ecbeaaa18e257 (patch)
treef4e4a9a0d5100025aab6c2bf7ab131df202fc3b3 /drivers/usb/dwc2/core.h
parentusb: dwc2: gadget: Add dwc2_gadget_incr_frame_num() (diff)
downloadlinux-142bd33fcd185d850178f7f8697ecbeaaa18e257.tar.xz
linux-142bd33fcd185d850178f7f8697ecbeaaa18e257.zip
usb: dwc2: gadget: Corrected interval calculation
Calculate the interval according to the USB 2.0 specification section 9.6.6. Tested-by: John Keeping <john@metanate.com> Signed-off-by: Vardan Mikayelyan <mvardan@synopsys.com> Signed-off-by: John Youn <johnyoun@synopsys.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc2/core.h')
-rw-r--r--drivers/usb/dwc2/core.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h
index 55160992b181..0ba359945dbd 100644
--- a/drivers/usb/dwc2/core.h
+++ b/drivers/usb/dwc2/core.h
@@ -166,7 +166,7 @@ struct dwc2_hsotg_req;
* means that it is sending data to the Host.
* @index: The index for the endpoint registers.
* @mc: Multi Count - number of transactions per microframe
- * @interval - Interval for periodic endpoints
+ * @interval - Interval for periodic endpoints, in frames or microframes.
* @name: The name array passed to the USB core.
* @halted: Set if the endpoint has been halted.
* @periodic: Set if this is a periodic ep, such as Interrupt