]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: synquacer: fix enumeration of slave devices
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Tue, 30 Apr 2019 09:47:34 +0000 (11:47 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 2 May 2019 16:38:53 +0000 (18:38 +0200)
commit9bee504e94df6d2223e53a8e18003ea0e9112016
treebbdc0f4841edcf2dca46ec79d428516d9bd6295c
parentac4bf34e62e61567dd6bf63da65e79e8549c8296
i2c: synquacer: fix enumeration of slave devices

The I2C host driver for SynQuacer fails to populate the of_node and
ACPI companion fields of the struct i2c_adapter it instantiates,
resulting in enumeration of the subordinate I2C bus to fail.

Fixes: 1f3ceb294cdb ("i2c: add support for Socionext SynQuacer I2C controller")
Cc: <stable@vger.kernel.org> # v4.19+
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-synquacer.c