@ferenc-szabo, thank you for figuring out the issue with the _STA method.
@kaihengfeng, it looks like we are both working on the same issue again :)
I've written a simple, clean kernel patch fixing this, and I just got confirmation from the reporter of: https://bugzilla.redhat.com/show_bug.cgi?id=1842039
That this patch fixes this:
--- a/drivers/i2c/i2c-core-base.c +++ b/drivers/i2c/i2c-core-base.c @@ -1464,8 +1464,8 @@ static int i2c_register_adapter(struct i2c_adapter *adap)
/* create pre-declared device nodes */ of_i2c_register_devices(adap); - i2c_acpi_register_devices(adap); i2c_acpi_install_space_handler(adap); + i2c_acpi_register_devices(adap);
if (adap->nr < __i2c_first_dynamic_bus_num) i2c_scan_static_board_info(adap);
I'll Cc you on the upstream submission.
@ferenc-szabo, thank you for figuring out the issue with the _STA method.
@kaihengfeng, it looks like we are both working on the same issue again :)
I've written a simple, clean kernel patch fixing this, and I just got confirmation from the reporter of: /bugzilla. redhat. com/show_ bug.cgi? id=1842039
https:/
That this patch fixes this:
--- a/drivers/ i2c/i2c- core-base. c i2c/i2c- core-base. c adapter( struct i2c_adapter *adap)
+++ b/drivers/
@@ -1464,8 +1464,8 @@ static int i2c_register_
/* create pre-declared device nodes */ register_ devices( adap); register_ devices( adap); install_ space_handler( adap); register_ devices( adap);
of_i2c_
- i2c_acpi_
i2c_acpi_
+ i2c_acpi_
if (adap->nr < __i2c_first_ dynamic_ bus_num) scan_static_ board_info( adap);
i2c_
I'll Cc you on the upstream submission.