UPSTREAM: usb: dwc2: gadget: Corrected interval calculation
authorVardan Mikayelyan <mvardan@synopsys.com>
Thu, 26 May 2016 01:07:07 +0000 (18:07 -0700)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 3 Jan 2017 10:48:44 +0000 (18:48 +0800)
commite31c6f8cadd39ac28a0b236402b8beca30739348
treebd7d465c603d1719801c31115d9a217c624ea21c
parent206703194afb35e8ced507197426e95bb8d0dde6
UPSTREAM: usb: dwc2: gadget: Corrected interval calculation

Calculate the interval according to the USB 2.0 specification section
9.6.6.

Change-Id: I918faedbaa22d0151d48ed45907baf71f000c831
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>
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
(cherry picked from commit 142bd33fcd185d850178f7f8697ecbeaaa18e257)
drivers/usb/dwc2/core.h
drivers/usb/dwc2/gadget.c