usb: Correct the i2c path

Correct the I2C path to match the new memory address setting.

Test: Connect to HU work
Bug: 233996502

Signed-off-by: Ricky Niu <rickyniu@google.com>
Change-Id: I27cca56698568e8a3060d9e40bad3a29ec072588
This commit is contained in:
Ricky Niu 2022-05-26 19:49:59 +08:00 committed by TreeHugger Robot
parent fb6e5cf647
commit 6d0bb7f43d
2 changed files with 26 additions and 26 deletions

View file

@ -34,8 +34,8 @@ namespace V1_2 {
namespace implementation {
string enabledPath;
constexpr char kHsi2cPath[] = "/sys/devices/platform/10d50000.hsi2c";
constexpr char kI2CPath[] = "/sys/devices/platform/10d50000.hsi2c/i2c-";
constexpr char kHsi2cPath[] = "/sys/devices/platform/10d60000.hsi2c";
constexpr char kI2CPath[] = "/sys/devices/platform/10d60000.hsi2c/i2c-";
constexpr char kAccessoryLimitCurrent[] = "i2c-max77759tcpc/usb_limit_accessory_current";
constexpr char kAccessoryLimitCurrentEnable[] = "i2c-max77759tcpc/usb_limit_accessory_enable";