diff options
author | Josh Gao <jmgao@google.com> | 2019-06-17 15:05:37 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2019-06-21 14:29:21 -0700 |
commit | c33aee8ac1c0958df32dcd2db27ca3d0d1badbd1 (patch) | |
tree | ddb5f5fff1b948d106fb540c95f56f603e4db6f1 /trusty/coverage/coverage.cpp | |
parent | b41d7ae1a9e5cfd2a7df6d0edee50fdf97c636f0 (diff) |
Reland "adbd: don't close ep0 until we receive FUNCTIONFS_UNBIND."
Read until we receive FUNCTIONFS_BIND after every USB descriptor setup,
instead of only after initial creation of the control fd, so we properly
handle a rebind caused by a change of the USB configuration.
This reverts commit 55b31933f41b1c550b788fa2054010c51f56111b.
Bug: http://b/133132986
Bug: http://b/135155652
Test: manually enabled/disabled MTP with nonblocking_ffs enabled and disabled
Change-Id: Ibb3f46b8f84854ede47a669a85e07e16a5dd6008
Merged-In: Ibb3f46b8f84854ede47a669a85e07e16a5dd6008
(cherry picked from commit b00e66f754d6cfe2c5dcd7dab54a4a86004effd7)
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions