You've already forked linux-rockchip
mirror of
https://github.com/armbian/linux-rockchip.git
synced 2026-01-06 11:08:10 -08:00
usb: dwc3: gadget: Fix stop active transfer
Sync the commit a9a4f474d7 ("usb: dwc3: gadget: fix deadlock in kick transfer")
Change-Id: I4f0394304227a4261d99b644603ab4edbda21e5d
Signed-off-by: William Wu <william.wu@rock-chips.com>
This commit is contained in:
@@ -1877,7 +1877,7 @@ static int __dwc3_stop_active_transfer(struct dwc3_ep *dep, bool force, bool int
|
||||
if (!DWC3_IP_IS(DWC3) || DWC3_VER_IS_PRIOR(DWC3, 310A))
|
||||
mdelay(1);
|
||||
dep->flags &= ~DWC3_EP_TRANSFER_STARTED;
|
||||
} else if (!ret) {
|
||||
} else {
|
||||
dep->flags |= DWC3_EP_END_TRANSFER_PENDING;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user