usb: dwc3: gadget: Support up to max stream id
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Tue, 29 Sep 2020 22:26:29 +0000 (15:26 -0700)
committerFelipe Balbi <balbi@kernel.org>
Fri, 2 Oct 2020 10:29:13 +0000 (13:29 +0300)
commite0a93d98f488fafd9285ea835539ff58d3ab0438
tree2ab05175caaf915c0ddad95d67fb1ccdb0aecde8
parent2338484d14f3f4b3bd1f7bb416805976e7bd0cc5
usb: dwc3: gadget: Support up to max stream id

DWC3 IPs can use the maximum stream id (up to 2^16) specified by the
USB 3.x specs. Don't limit to stream id 2^15 only. Note that this does
not reflect the number of concurrent streams the controller handles
internally.

Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
drivers/usb/dwc3/gadget.c