diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-05-30 13:41:22 +0300 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-06-20 12:32:51 +0300 |
commit | ba62c09d5cc240e55eb39e92d88f1036bb1d9221 (patch) | |
tree | adc7697c3416bb116ba2ef1f40c76da39d240692 /drivers/usb/dwc3 | |
parent | 13fa2e69b1dda31bddb11fe61f250b9415885ead (diff) | |
download | talos-obmc-linux-ba62c09d5cc240e55eb39e92d88f1036bb1d9221.tar.gz talos-obmc-linux-ba62c09d5cc240e55eb39e92d88f1036bb1d9221.zip |
usb: dwc3: gadget: start Bulk endpoints more frequently
Now we can try to issue Update Transfer every time
gadget driver queues a new request. This will make
sure we keep controller's queue busy for as long as
possible.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r-- | drivers/usb/dwc3/gadget.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 126e8b883595..3d2978cebdff 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -1133,8 +1133,7 @@ static int __dwc3_gadget_ep_queue(struct dwc3_ep *dep, struct dwc3_request *req) * little bit faster. */ if (!usb_endpoint_xfer_isoc(dep->endpoint.desc) && - !usb_endpoint_xfer_int(dep->endpoint.desc) && - !(dep->flags & DWC3_EP_BUSY)) { + !usb_endpoint_xfer_int(dep->endpoint.desc)) { ret = __dwc3_gadget_kick_transfer(dep, 0); goto out; } |