mirror of
https://github.com/Evolution-X-Devices/device_google_gs201
synced 2026-01-27 09:39:39 +00:00
f13115f44c909e137aa8f1ff68d0c774759c83a2
system/core/init/init.cpp SetUsbController picks the first udc device if there're multiple udc devices present on the system to populate sys.usb.controller system property. CONFIG_USB_DUMMY_HCD enabled in kernel-5.10 GKI would introduce a dummy udc device named "dummy_udc.0". Depends on timing, the dummy device might be picked up by the init process and incorrectly populate sys.usb.controller. This issue only applies to devices on kernel-5.10 GKI, the WAR is to overwrite the sysprop if it's incorrectly populated by the dummy udc. Bug: 333778731 Test: tested on Cheetah Flag: EXEMPT bugfix Change-Id: I7555dda7f0bb436200ef7cd8a46b785232187cfd
Description
Board tree for Google Tensor G2 devices
Languages
C++
60.5%
Makefile
25.6%
PureBasic
9.1%
Shell
2.1%
C
1.5%
Other
1.2%