Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ebaf31c4 authored by Jarkko Nikula's avatar Jarkko Nikula Committed by Olof Johansson
Browse files

platform/chrome: Fix i2c-designware adapter name



Commit d80d1341 ("i2c: designware: Move common probe code into
i2c_dw_probe()") caused the I2C adapter lookup code here to fail for PCI
enumerated i2c-designware because commit changed the adapter name but
didn't update it here.

Fix the I2C adapter lookup by using the "Synopsys DesignWare I2C adapter"
name.

Reported-by: default avatarJeremiah Mahler <jmmahler@gmail.com>
Fixes: d80d1341 ("i2c: designware: Move common probe code into i2c_dw_probe()")
Signed-off-by: default avatarJarkko Nikula <jarkko.nikula@linux.intel.com>
Tested-by: default avatarJeremiah Mahler <jmmahler@gmail.com>
Signed-off-by: default avatarOlof Johansson <olof@lixom.net>
parent 18800fc7
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -47,8 +47,8 @@ static const char *i2c_adapter_names[] = {
	"SMBus I801 adapter",
	"SMBus I801 adapter",
	"i915 gmbus vga",
	"i915 gmbus vga",
	"i915 gmbus panel",
	"i915 gmbus panel",
	"i2c-designware-pci",
	"Synopsys DesignWare I2C adapter",
	"i2c-designware-pci",
	"Synopsys DesignWare I2C adapter",
};
};


/* Keep this enum consistent with i2c_adapter_names */
/* Keep this enum consistent with i2c_adapter_names */