Commit a8997cb1 authored by Krishna Kurapati's avatar Krishna Kurapati Committed by Treehugger Robot
Browse files

UPSTREAM: usb: dwc3: gadget: Submit endxfer command if delayed during disconnect



During a cable disconnect sequence, if ep0state is not in the SETUP phase,
then nothing will trigger any pending end transfer commands.  Force
stopping of any pending SETUP transaction, and move back to the SETUP
phase.

Reviewed-by: default avatarThinh Nguyen <Thinh.Nguyen@synopsys.com>
Signed-off-by: default avatarWesley Cheng <quic_wcheng@quicinc.com>
Link: https://lore.kernel.org/r/20220901193625.8727-6-quic_wcheng@quicinc.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>

(cherry picked from commit 8422b769)

Bug: 258997352
Change-Id: I39f41c42d3c5aec76d4f65175e31e2e10a0825be
Signed-off-by: default avatarKrishna Kurapati <quic_kriskura@quicinc.com>
parent 910e9e60
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment