usb: dwc3: gadget: move cmd_endtransfer to extra function
stable inclusion from stable-v5.10.177 commit ddb1973e67650dfdc66179b07895b20568a3b251 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/I88YNP Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ddb1973e67650dfdc66179b07895b20568a3b251 -------------------------------- [ Upstream commit e192cc7b ] This patch adds the extra function __dwc3_stop_active_transfer to consolidate the same codepath. Signed-off-by:Michael Grzeschik <m.grzeschik@pengutronix.de> Link: https://lore.kernel.org/r/20220306211251.2281335-3-m.grzeschik@pengutronix.de Signed-off-by:
Greg Kroah-Hartman <gregkh@linuxfoundation.org> Stable-dep-of: d8a2bb4e ("usb: dwc3: gadget: Add 1ms delay after end transfer command without IOC") Signed-off-by:
Sasha Levin <sashal@kernel.org> Signed-off-by:
sanglipeng <sanglipeng1@jd.com> (cherry picked from commit be731e71)
Loading
Please sign in to comment