summaryrefslogtreecommitdiff
path: root/trusty/coverage/coverage.cpp
diff options
context:
space:
mode:
authorMark Salyzyn <salyzyn@google.com>2020-05-12 18:13:14 -0700
committerMark Salyzyn <salyzyn@google.com>2020-05-14 13:05:42 -0700
commit6fca594fc2abf78d300886da8ee5747aa5601608 (patch)
treef734adaf6e9aeace58763ada29e2dd41bd7203e9 /trusty/coverage/coverage.cpp
parent7937f29be8524e20909eb12d722a0b14aa45d688 (diff)
init: failed to set sys.usb.controller
With GKI we find in certain situations the timing of the drivers loading is delayed as compared to a monolithic kernel. This introduces a race where during second stage init, the attributes inside /sys/class/udc/ might not be set by the time SetUsbController() is called. To address this, we also call SetUsbController() until the property sys.usb.controller is set at the bottom of the event loop. Signed-off-by: Mark Salyzyn <salyzyn@google.com> Bug: 151950334 Test: make sure user space fastbootd comes up reliably for a GKI kernel Change-Id: Iececd8ffa3e6641554d215d622d8dab72d85d34d
Diffstat (limited to 'trusty/coverage/coverage.cpp')
0 files changed, 0 insertions, 0 deletions