[Impact]
I2C designware fails to get its adapter number, and this may lead to fail to access touchpad through I2C bus.
[ 6.476367] WARNING: CPU: 9 PID: 567 at /build/linux-oem-osp1-bkWHJC/linux-oem-osp1-5.0.0/drivers/i2c/i2c-core-base.c:1322 i2c_add_numbered_adapter+0x81/0x90
[Fix]
The 2 commits fix this issue.
cd86d1403bb4 i2c: i2c-designware-platdrv: Always use a dynamic adapter number
77f3381a83c2 i2c: i2c-designware-platdrv: Cleanup setting of the adapter number
[Test]
Verified on Dell machine which had this issue.
[Regression Potential]
Low, the 2 commits make it always use dynamic adapter-numbers which does not make any difference in most cases and in the one case where it does make a difference the behavior change is desirable because the old behavior caused an oops.
[Impact] linux-oem- osp1-bkWHJC/ linux-oem- osp1-5. 0.0/drivers/ i2c/i2c- core-base. c:1322 i2c_add_ numbered_ adapter+ 0x81/0x90
I2C designware fails to get its adapter number, and this may lead to fail to access touchpad through I2C bus.
[ 6.476367] WARNING: CPU: 9 PID: 567 at /build/
[Fix] platdrv: Always use a dynamic adapter number platdrv: Cleanup setting of the adapter number
The 2 commits fix this issue.
cd86d1403bb4 i2c: i2c-designware-
77f3381a83c2 i2c: i2c-designware-
[Test]
Verified on Dell machine which had this issue.
[Regression Potential]
Low, the 2 commits make it always use dynamic adapter-numbers which does not make any difference in most cases and in the one case where it does make a difference the behavior change is desirable because the old behavior caused an oops.