]> 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)
commit7104d41f6bed18be8344e6e6a4cb6822d192ce95
tree91c5d44b0ea7080267b54e4503dd44f0a41aa0bf
parent873f74c80ab42ae6b33c03eb218e9d3e09485215
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