summaryrefslogtreecommitdiffstats
path: root/drivers/ata/ahci.c
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2015-05-29 17:06:38 +0200
committerFelipe Balbi <balbi@ti.com>2015-05-29 17:19:51 +0200
commite18b7975c885bc3a938b9a76daf32957ea0235fa (patch)
tree4cc90380ad419c0c10f7010cceac1c698ba481aa /drivers/ata/ahci.c
parentusb: phy: add static inline wrapper for devm_usb_get_phy_by_node (diff)
downloadlinux-e18b7975c885bc3a938b9a76daf32957ea0235fa.tar.xz
linux-e18b7975c885bc3a938b9a76daf32957ea0235fa.zip
usb: dwc3: gadget: don't clear EP_BUSY too early
In case of non-Isochronous transfers, we don't want to clear DWC3_EP_BUSY flag until XferComplete event. That's because XferInProgress was only enabled so we can recycle TRBs and usb_requests quicker, but there are still other pending requests being transferred. In order to make sure we don't allow for another StartTransfer command while the HW is still processing other transfers, we must keep DWC3_EP_BUSY flag set and this what this patch does. Fixes: f3af36511e60 (usb: dwc3: gadget: always enable IOC on bulk/interrupt transfers) Cc: <stable@vger.kernel.org> # v3.15+ Reported-by: sundeep subbaraya <sundeep.lkml@gmail.com> Tested-by: sundeep subbaraya <sundeep.lkml@gmail.com> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/ata/ahci.c')
0 files changed, 0 insertions, 0 deletions