]> git.baikalelectronics.ru Git - kernel.git/commit
usb: dwc3: gadget: don't wrap around the TRB poll on non-ISOC
authorPaul Zimmerman <paulz@synopsys.com>
Wed, 15 Feb 2012 11:35:06 +0000 (13:35 +0200)
committerFelipe Balbi <balbi@ti.com>
Fri, 2 Mar 2012 10:12:03 +0000 (12:12 +0200)
commit4be5762f666665199f18814b6d43156c563e3fa1
tree91c5d44b0ea7080267b54e4503dd44f0a41aa0bf
parentbf6500183ef96a57912dca09d9ca03cf5e37a646
usb: dwc3: gadget: don't wrap around the TRB poll on non-ISOC

If we have a non-ISOC endpoint, we will not have a Link TRB
pointing to the beginning of the TRB pool. On such endpoints,
we don't want to let the driver wrap around the TRB pool
otherwise controller will hang waiting for a valid TRB.

Cc: stable@vger.kernel.org
Signed-off-by: Paul Zimmerman <paulz@synopsys.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/gadget.c