]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
usb: dwc3: gadget: always use frame number from XferNotReady
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Tue, 27 Mar 2018 08:14:31 +0000 (11:14 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 21 May 2018 07:00:51 +0000 (10:00 +0300)
commit5828cada99086c41cf23c4d4b63090b23c473008
tree8ae2b23e9ab93f9a3e2510775b7565b1808a1ad8
parent8f608e8ab62868d0dee7e2dd928239a55c133b43
usb: dwc3: gadget: always use frame number from XferNotReady

The core requires the extra two bits of information for properly
scheduling Isochronous transfers. This means that we can't rely on
__dwc3_gadget_get_frame(). Let's always cache uFrame number from
XferNotReady instead.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c