usb: dwc2: Update target (u)frame calculation
authorGrigor Tovmasyan <Grigor.Tovmasyan@synopsys.com>
Wed, 29 Aug 2018 17:00:33 +0000 (21:00 +0400)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 2 Oct 2018 07:49:50 +0000 (10:49 +0300)
commit48dac4e4a5eed3fa478db2c59945b6283281566d
treef53f7049a9cc5a9841e08b62a0195f5074ae4de0
parent9d630b9cde28dc261cdfc608ed68ef5487404422
usb: dwc2: Update target (u)frame calculation

In service interval based scheduling target (u)frame must be
set as a last frame in this the service interval.

Acked-by: Minas Harutyunyan <hminas@synopsys.com>
Signed-off-by: Grigor Tovmasyan <tovmasya@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc2/gadget.c