]> git.baikalelectronics.ru Git - kernel.git/commit
platform/chrome: Fix i2c-designware adapter name
authorJarkko Nikula <jarkko.nikula@linux.intel.com>
Tue, 3 Nov 2015 11:09:00 +0000 (13:09 +0200)
committerOlof Johansson <olof@lixom.net>
Tue, 10 Nov 2015 03:43:33 +0000 (19:43 -0800)
commit7a24db9f47eace06692c575b72006913eeb2dd18
treef11cb926cd11d2cc4f3c3f3536e407b5170da011
parent0b9bce9f537d01b461ea343eb0f877a01cd42dff
platform/chrome: Fix i2c-designware adapter name

Commit 3a2ab72553fc ("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: 3a2ab72553fc ("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>
drivers/platform/chrome/chromeos_laptop.c