summaryrefslogtreecommitdiff
path: root/libutils/String16_fuzz.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-13 17:56:31 -0700
commit150687b87d61cf3f07083a77b0fee38f21a84c68 (patch)
tree2d574c7348afbd2ea58c7c0d8d636cc38dee30f5 /libutils/String16_fuzz.cpp
parent5133bbfd3412cb2dc30d07149736ad1ec5779979 (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 'libutils/String16_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions