summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPeter Oh <poh@broadcom.com>2013-09-12 01:42:18 +0000
committerJohn Stultz <john.stultz@linaro.org>2016-02-16 13:51:59 -0800
commit04efb4284190248110c09d38a141a98629b3c4a8 (patch)
treea1a74c60fa03b0c7189b2d74c909829653b4dd0d /include/linux
parent8b5fda4105d9b90f9080a711015613f366b01fee (diff)
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: Peter Oh <poh@broadcom.com> Reviewed-on: http://mps-gerrit.broadcom.com/37744 Reviewed-by: Graham Williams <gwilli@broadcom.com> Reviewed-by: John Garry <jgarry@broadcom.com> Branch-Open: Branch Status <branch_status_noreply@broadcom.com> Reviewed-by: Checkpatch Status <checkpatch_status_noreply@broadcom.com> Reviewed-by: Joyjit Nath <joyjit@broadcom.com> Tested-by: AutoSubmit Status <autosubmit_status_noreply@broadcom.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions