Skip to content

Commit ebaf31c

Browse files
jhnikulaolofj
authored andcommitted
platform/chrome: Fix i2c-designware adapter name
Commit d80d134 ("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: Jeremiah Mahler <jmmahler@gmail.com> Fixes: d80d134 ("i2c: designware: Move common probe code into i2c_dw_probe()") Signed-off-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Tested-by: Jeremiah Mahler <jmmahler@gmail.com> Signed-off-by: Olof Johansson <olof@lixom.net>
1 parent 18800fc commit ebaf31c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/platform/chrome/chromeos_laptop.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ static const char *i2c_adapter_names[] = {
4747
"SMBus I801 adapter",
4848
"i915 gmbus vga",
4949
"i915 gmbus panel",
50-
"i2c-designware-pci",
51-
"i2c-designware-pci",
50+
"Synopsys DesignWare I2C adapter",
51+
"Synopsys DesignWare I2C adapter",
5252
};
5353

5454
/* Keep this enum consistent with i2c_adapter_names */

0 commit comments

Comments
 (0)