提交 ebaf31c4 编写于 作者: J Jarkko Nikula 提交者: Olof Johansson

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: NJeremiah Mahler <jmmahler@gmail.com>
Fixes: d80d1341 ("i2c: designware: Move common probe code into i2c_dw_probe()")
Signed-off-by: NJarkko Nikula <jarkko.nikula@linux.intel.com>
Tested-by: NJeremiah Mahler <jmmahler@gmail.com>
Signed-off-by: NOlof Johansson <olof@lixom.net>
上级 18800fc7
......@@ -47,8 +47,8 @@ static const char *i2c_adapter_names[] = {
"SMBus I801 adapter",
"i915 gmbus vga",
"i915 gmbus panel",
"i2c-designware-pci",
"i2c-designware-pci",
"Synopsys DesignWare I2C adapter",
"Synopsys DesignWare I2C adapter",
};
/* Keep this enum consistent with i2c_adapter_names */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册