]> git.baikalelectronics.ru Git - kernel.git/commit
drivers: i2c: thunderx: Allow driver to work with ACPI defined TWSI controllers
authorPiyush Malgujar <pmalgujar@marvell.com>
Wed, 11 May 2022 13:36:59 +0000 (06:36 -0700)
committerWolfram Sang <wsa@kernel.org>
Sat, 21 May 2022 11:41:28 +0000 (13:41 +0200)
commit03a35bc856ddc09f2cc1f4701adecfbf3b464cb3
tree22e62d57e34ee0ad249b49d98c58b2d95137ca7a
parent17a0f3acdc6ec8b89ad40f6e22165a4beee25663
drivers: i2c: thunderx: Allow driver to work with ACPI defined TWSI controllers

Due to i2c->adap.dev.fwnode not being set, ACPI_COMPANION() wasn't properly
found for TWSI controllers.

Signed-off-by: Szymon Balcerak <sbalcerak@marvell.com>
Signed-off-by: Piyush Malgujar <pmalgujar@marvell.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-thunderx-pcidrv.c