]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
usb: dwc3: isoc clean DWC3_EP_PENDING_REQUEST flag
authorJanusz Dziedzic <januszx.dziedzic@linux.intel.com>
Wed, 9 Nov 2016 10:01:34 +0000 (11:01 +0100)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 18 Nov 2016 11:54:15 +0000 (13:54 +0200)
After we kick_transfer we should clean
DWC3_EP_PENDING_REQUEST endpoint flag.

Signed-off-by: Janusz Dziedzic <januszx.dziedzic@linux.intel.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c

index af9e8853d8fb356192986e122dd904dcb26c71e4..37d3de41123c12e7135983240425e85e7b1b30de 100644 (file)
@@ -1193,6 +1193,7 @@ static int __dwc3_gadget_ep_queue(struct dwc3_ep *dep, struct dwc3_request *req)
 
                                cur_uf = __dwc3_gadget_get_frame(dwc);
                                __dwc3_gadget_start_isoc(dwc, dep, cur_uf);
+                               dep->flags &= ~DWC3_EP_PENDING_REQUEST;
                        }
                }
                return 0;