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

Skip to content
Commit 56db2217 authored by Peter Oh's avatar Peter Oh Committed by Amit Pundir
Browse files

USB: remove duplicate out endpoint creation in MTP mode



Android MTP gadget uses 3 endpoints which are 1 in endpoint,
1 out endpoint, and 1 interrupt endpoint. However when MTP
gadget creates its endpoints, it creates the out endpoint twice
and overwrites the first created out endpoint with the second one,
so that it causes a leak of endpoint resources.

Change-Id: Iba82950095610b26b362f4b10a67cedfb1fee366
Signed-off-by: default avatarPeter Oh <poh@broadcom.com>
Reviewed-on: http://mps-gerrit.broadcom.com/37744


Reviewed-by: default avatarGraham Williams <gwilli@broadcom.com>
Reviewed-by: default avatarJohn Garry <jgarry@broadcom.com>
Branch-Open: Branch Status <branch_status_noreply@broadcom.com>
Reviewed-by: default avatarCheckpatch Status <checkpatch_status_noreply@broadcom.com>
Reviewed-by: default avatarJoyjit Nath <joyjit@broadcom.com>
Tested-by: default avatarAutoSubmit Status <autosubmit_status_noreply@broadcom.com>
parent 8e364845
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