diff options
| author | Viswanath Kraleti <viswanath.kraleti@oss.qualcomm.com> | 2026-04-16 12:53:05 +0530 |
|---|---|---|
| committer | Khem Raj <khem.raj@oss.qualcomm.com> | 2026-04-17 00:26:51 -0700 |
| commit | 4ade1fae44ff2fe23dd448fb1cd38ab43a29a958 (patch) | |
| tree | f01c09e936f1937f6dfd03ef8744ea76cd32f637 /meta-python/recipes-devtools/python/python3-bleak/run-ptest | |
| parent | 7554edaa20e9b7905920f45b30429298ccd115b3 (diff) | |
| download | meta-openembedded-master-next.tar.gz | |
android-tools-conf-configfs: replace fixed sleep with UDC wait loopmaster-next
The android-gadget-start script previously relied on a fixed `sleep 10`
delay for configuring the USB gadget UDC. This approach can either delay
boot unnecessarily or still race with UDC or configfs initialization on
slower systems.
Replace the fixed sleep with a limited time polling loop that waits for
both configfs and a valid UDC before configuring the USB ADB gadget.
This makes USB gadget initialization more deterministic across platforms
without relying on arbitrary delays.
Signed-off-by: Viswanath Kraleti <viswanath.kraleti@oss.qualcomm.com>
Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
Diffstat (limited to 'meta-python/recipes-devtools/python/python3-bleak/run-ptest')
0 files changed, 0 insertions, 0 deletions
