Messages in this thread |  | | Date | Mon, 24 Jun 2019 10:44:27 +0200 | From | Wolfram Sang <> | Subject | Re: [PATCH 1/3] include: linux: i2c: more helpers for declaring i2c drivers |
| |
> Okay, what's the correct initialization method then ? > Just convert it to already existing module_i2c_driver() ?
"module_platform_driver" you mean? That's tricky because it can introduce regressions easily. I had one situation where one wanted subsys_init and one wanted module_init.
The correct solution is to fix the boot dependency in the affected I2C client drivers. That definately needs HW and thorough testing.
It may also need something better than the current deferred probe. Big topic.
[unhandled content-type:application/pgp-signature]
|  |