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

Skip to content
Commit 3d848c5a authored by Manu Gautam's avatar Manu Gautam
Browse files

usb: f_gsi: Fix GSI enable logic for ADPL only composition



Driver enables GSI wrapper only if OUT EP is present in
GSI interface which is not the case with DPL function.
This logic works as long as there is another GSI function
present with OUT EP (e.g. RMNET/RNDIS). However, if ADPL is
the only GSI function in composition then driver does all
the EP specific programming in USB GSI wrapper but doesn't
enable it. Since, initial doorbell is rung by software, data
transfer does start but eventually stall happens as USB GSI
wrapper doesn't ring doorbell.
Fix it by not having an EP check while enabling GSI.

Change-Id: Ia40209d5a3f3b5947b13e8909ef9f994200f7a85
Signed-off-by: default avatarManu Gautam <mgautam@codeaurora.org>
parent a0ad84ec
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment