Commit 14f69769 authored by Piyush Malgujar's avatar Piyush Malgujar Committed by Zheng Zengkai
Browse files

drivers: i2c: thunderx: Allow driver to work with ACPI defined TWSI controllers

stable inclusion
from stable-v5.10.120
commit 5525af175be2184e0c87e268bd17c81235662f7d
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5L6BR

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=5525af175be2184e0c87e268bd17c81235662f7d



--------------------------------

[ Upstream commit 03a35bc8 ]

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

Signed-off-by: default avatarSzymon Balcerak <sbalcerak@marvell.com>
Signed-off-by: default avatarPiyush Malgujar <pmalgujar@marvell.com>
Signed-off-by: default avatarWolfram Sang <wsa@kernel.org>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Acked-by: default avatarXie XiuQi <xiexiuqi@huawei.com>
parent 6989c31e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment