commit | 901548943ccd27ba823508a3679d5b10000eb18f | [log] [tgz] |
---|---|---|
author | Will McVicker <willmcvicker@google.com> | Wed Sep 20 16:15:13 2023 -0700 |
committer | William McVicker <willmcvicker@google.com> | Thu Sep 28 16:08:00 2023 +0000 |
tree | 31f0abec26595422923ffdf74a28c3502407a7eb | |
parent | d9c462fc1719fe0f6b025b553857d1ca573ba13d [diff] |
usb: Update Usb and UsbGadget i2c logic 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: Ia68c424a3b6579457be6cfd0d07788e9da44a86e