MLK-22673: sdp: Change bInterval of interrupt endpoint to 3
authorSherry Sun <sherry.sun@nxp.com>
Thu, 26 Sep 2019 14:04:07 +0000 (10:04 -0400)
committerYe Li <ye.li@nxp.com>
Sun, 29 Sep 2019 08:33:12 +0000 (01:33 -0700)
commit0f33591cbbb8a2e848e4c297b8293c7b97874ca1
tree391fac7f9c78ec435d4d640cd83291af6e46cfeb
parent4fb3e77b9ed7c15bed28dfaff2062db1ce85f86b
MLK-22673: sdp: Change bInterval of interrupt endpoint to 3

Since the USB HID limits the maximum bandwidth(3072) for interrupt
endpoint transfers, when the bInterval set to 1, we can only support 3
boards to run sdp at the same time. In order to support more boards,
change the bInterval of interrupt endpoint to 3, which will not affect
the transmission speed.

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit beb0283e6bac3d42cc87757e3c0e200e2ac3b68f)
drivers/usb/gadget/f_sdp.c