summaryrefslogtreecommitdiff
path: root/libutils/FileMap_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
commit5e52d10f469b0bedb0617cc81a3f2405ded5eaca (patch)
tree2d574c7348afbd2ea58c7c0d8d636cc38dee30f5 /libutils/FileMap_fuzz.cpp
parentc4fbd8682aa7caa73067ebde21dec6f9bed89abb (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/FileMap_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions