aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/chrome
diff options
context:
space:
mode:
authorJarkko Nikula <jarkko.nikula@linux.intel.com>2015-11-03 06:09:00 -0500
committerOlof Johansson <olof@lixom.net>2015-11-09 22:43:33 -0500
commitebaf31c46cce0dc8a6ed690b5456b295aa7586a6 (patch)
treef11cb926cd11d2cc4f3c3f3536e407b5170da011 /drivers/platform/chrome
parent18800fc7a04e7df8a345e7ef4fc3064368276f83 (diff)
platform/chrome: Fix i2c-designware adapter name
Commit d80d134182ba ("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: d80d134182ba ("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>
Diffstat (limited to 'drivers/platform/chrome')
-rw-r--r--drivers/platform/chrome/chromeos_laptop.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/platform/chrome/chromeos_laptop.c b/drivers/platform/chrome/chromeos_laptop.c
index 02072749fff3..2b441e9ae593 100644
--- a/drivers/platform/chrome/chromeos_laptop.c
+++ b/drivers/platform/chrome/chromeos_laptop.c
@@ -47,8 +47,8 @@ static const char *i2c_adapter_names[] = {
47 "SMBus I801 adapter", 47 "SMBus I801 adapter",
48 "i915 gmbus vga", 48 "i915 gmbus vga",
49 "i915 gmbus panel", 49 "i915 gmbus panel",
50 "i2c-designware-pci", 50 "Synopsys DesignWare I2C adapter",
51 "i2c-designware-pci", 51 "Synopsys DesignWare I2C adapter",
52}; 52};
53 53
54/* Keep this enum consistent with i2c_adapter_names */ 54/* Keep this enum consistent with i2c_adapter_names */