diff options
| author | Peter Oh <poh@broadcom.com> | 2013-09-12 01:42:18 +0000 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2013-09-19 23:03:34 -0500 |
| commit | 2c7011b8323721307f74cec6eec28430cfee3e7e (patch) | |
| tree | b39942f432db92e2eac29aa106fc7c6a1e71baf1 /drivers/pwm/pwm-imx.c | |
| parent | cf0fad49d17cb8273ce555dd5b7afab67d7923bf (diff) | |
| download | olio-linux-3.10-2c7011b8323721307f74cec6eec28430cfee3e7e.tar.xz olio-linux-3.10-2c7011b8323721307f74cec6eec28430cfee3e7e.zip | |
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 'drivers/pwm/pwm-imx.c')
0 files changed, 0 insertions, 0 deletions