Commit 76284302 authored by Wesley Cheng's avatar Wesley Cheng Committed by Greg Kroah-Hartman
Browse files

BACKPORT: FROMLIST: usb: dwc3: gadget: Clear DEP flags after stop transfers in ep disable



Ensure that dep->flags are cleared until after stop active transfers
is completed.  Otherwise, the ENDXFER command will not be executed
during ep disable.

Fixes: f09ddcfc ("usb: dwc3: gadget: Prevent EP queuing while stopping transfers")
Reported-and-tested-by: default avatarAndy Shevchenko <andy.shevchenko@gmail.com>
Tested-by: default avatarMarek Szyprowski <m.szyprowski@samsung.com>
Signed-off-by: default avatarWesley Cheng <wcheng@codeaurora.org>

Bug: 183733328
Link: https://lore.kernel.org/linux-usb/1616610664-16495-1-git-send-email-wcheng@codeaurora.org/


Change-Id: Ib8027747af37d7c977ea6cc1b00b1977f81da138
Signed-off-by: default avatarWesley Cheng <wcheng@codeaurora.org>
parent dcf3827b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment