Update the logic to find the i2c bus number to use either the named i2c devices or the static i2c bus numbers. This allows us to support both cases -- v5.10 uses i2c-<devname> while v6.1 uses <i2c-bus#>-<reg>. Bug: 291606723 Test: verify no errors from the usb services with v5.10 and v6.1 Change-Id: I6d41ac041ead68e72a3766e03d491bcd478468d3 |
||
---|---|---|
.. | ||
Android.bp | ||
android.hardware.usb.gadget-service.rc | ||
android.hardware.usb.gadget-service.xml | ||
service_gadget.cpp | ||
UsbGadget.cpp | ||
UsbGadget.h |