usb: dwc3: gadget: Report isoc transfer frame number
authorThinh Nguyen <thinh.nguyen@synopsys.com>
Fri, 16 Nov 2018 03:03:27 +0000 (19:03 -0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 5 Dec 2018 09:14:15 +0000 (11:14 +0200)
commit6abfa0f5bb7cce98c89e2c28fcea31c17200890e
tree790176b78ed31fb51fa11b732678722c7504d9d7
parent6b69753fa0078c5222d6b4aeb5017c5503e0dc8e
usb: dwc3: gadget: Report isoc transfer frame number

Implement the new frame_number API to report the isochronous interval
frame number. This patch checks and reports the interval in which the
isoc transfer was transmitted or received via the Isoc-First TRB SOF
number field.

Signed-off-by: Thinh Nguyen <thinhn@synopsys.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/core.h
drivers/usb/dwc3/gadget.c