f_sdp: Change bInterval of interrupt endpoint to 3
authorSherry Sun <sherry.sun@nxp.com>
Tue, 18 Aug 2020 10:16:49 +0000 (18:16 +0800)
committerMarek Vasut <marex@denx.de>
Tue, 1 Sep 2020 12:47:43 +0000 (14:47 +0200)
commit405217a0332aa33e33fb579d75bc7f420c27bcd1
treec1c6ba2e2434e4fdd7174cbe33604576077dea2f
parent9e06c5c55a60bea001c82ad32f48177eddda0d38
f_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.

Reviewed-by: Ye Li <ye.li@nxp.com>
Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
drivers/usb/gadget/f_sdp.c