This series fixes a number of bugs related to adapter registration found
through inspection (when looking into addressing i2c lifetime issues).
Included are also two related cleanups.
Johan
Changes in v2
- fix irq domain leak (new, flagged by Sashiko when reviewing v1)
- add adapter to IDR before registration as needed by i2c-dev
- honour devicetree alias also when using i2c_add_numbered_adapter()
Johan Hovold (9):
i2c: core: fix irq domain leak on adapter registration failure
i2c: core: fix hang on adapter registration failure
i2c: core: fix adapter probe deferral loop
i2c: core: fix adapter debugfs creation
i2c: core: disable runtime PM on adapter registration failure
i2c: core: fix adapter registration race
i2c: core: fix adapter deregistration race
i2c: core: clean up bus id allocation
i2c: core: clean up adapter registration error label
drivers/i2c/i2c-core-base.c | 165 ++++++++++++++++++++----------------
1 file changed, 93 insertions(+), 72 deletions(-)
--
2.53.0