Revert "adb: Lower EP_ALLOC retry count"
This reverts commit 05fe272a87
.
Commit "adb: Do not signal gaget stack unless descriptors are written"
fixed the main issue for configfs devices where device wasn't enabled
until after the ioctl was attempted. Thus it is safe to bring up the
retry count so that the ioctl doesn't fail due to small delays in
usb stack.
Test: use adb, switch configs on configfs devices
This commit is contained in:
parent
75f8d89a8a
commit
40a8778491
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ using namespace std::chrono_literals;
|
|||
|
||||
#define FUNCTIONFS_ENDPOINT_ALLOC _IOR('g', 231, __u32)
|
||||
|
||||
static constexpr size_t ENDPOINT_ALLOC_RETRIES = 2;
|
||||
static constexpr size_t ENDPOINT_ALLOC_RETRIES = 10;
|
||||
|
||||
static int dummy_fd = -1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue