Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 24823f15 authored by Rohith Kollalsi's avatar Rohith Kollalsi Committed by Gerrit - the friendly Code Review server
Browse files

usb: dwc3: gadget: Properly handle ClearFeature(halt)



Commit 1bfa0914 ("usb: dwc3: gadget: Properly handle
ClearFeature(halt)") introduces stop active transfer to be done
as a part of clear feature. But for gsi as a part of clear
feature if stop active transfer is issued, as gsi uses hardware
path for transfers it cannot issue start active transfer which
leads to device sending not ready to the host while host trying
to send data which inturn leads to rmnet call failure. Fix this
by bailing out early without issuing stop active transfer in clear
feature for the interfaces that use hardware path for transfers.

Change-Id: I3929c610f50e6e5798517a03a9929db2824f87ff
Signed-off-by: default avatarRohith Kollalsi <rkollals@codeaurora.org>
parent 629f8312
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment