]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: gadget: Use SET_EP_PRIME for NoStream
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Wed, 6 May 2020 02:47:15 +0000 (19:47 -0700)
committerFelipe Balbi <balbi@kernel.org>
Mon, 25 May 2020 08:09:42 +0000 (11:09 +0300)
commit6455a23fd0d7dc8ca1f0ab6d8f222ae741edfe59
tree699191612ed218450829ae35c2af2efb74a1c319
parentd53cf3f2b178e33b7659e78db70aeaa2c5e62444
usb: dwc3: gadget: Use SET_EP_PRIME for NoStream

DWC_usb32 v1.00a and later can use SET_EP_PRIME command to reinitiate a
stream. Use the command to handle NoStream rejection instead of ending
and restarting the endpoint.

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