Commit b5800021 authored by Michael Grzeschik's avatar Michael Grzeschik Committed by Ray Chi
Browse files

BACKPORT: usb: dwc3: gadget: move cmd_endtransfer to extra function



This patch adds the extra function __dwc3_stop_active_transfer to
consolidate the same codepath.

Bug: 276227797
Signed-off-by: default avatarMichael Grzeschik <m.grzeschik@pengutronix.de>
Link: https://lore.kernel.org/r/20220306211251.2281335-3-m.grzeschik@pengutronix.de


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
(cherry picked from commit e192cc7b)

Bug: 279882628
Change-Id: I200a354ae39afb6d58a92f98fef183a51e3810bb
Signed-off-by: default avatarRay Chi <raychi@google.com>
(cherry picked from commit 7ded5917)
parent 3a6c1a00
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment