usb: gadget: Introduce frame_number to usb_request
authorThinh Nguyen <thinh.nguyen@synopsys.com>
Fri, 16 Nov 2018 03:03:21 +0000 (19:03 -0800)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Wed, 5 Dec 2018 09:14:11 +0000 (11:14 +0200)
commit6b69753fa0078c5222d6b4aeb5017c5503e0dc8e
tree1cb61cf03701bc4b1f0445cb31d8c1eb4c68d3ae
parentd54d334e75b93f3a372d1cbb7e805380b3281482
usb: gadget: Introduce frame_number to usb_request

Add a field frame_number to the usb_request to report the interval
number in (micro)frames in which the isochronous transfer was
transmitted or received. The gadget driver can use this knowledge to
synchronize with the host. Also, this option is useful for debugging
purposes.

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