diff options
| author | Johan Hovold <johan@kernel.org> | 2026-07-16 15:25:32 +0200 |
|---|---|---|
| committer | Bjorn Helgaas <bhelgaas@google.com> | 2026-07-20 05:56:55 -0500 |
| commit | 62ef2a96fe7e66b8b5c4e756a8454146adee1817 (patch) | |
| tree | 0923fa0227a382f2e4f4a59faaca226de67ccb35 /scripts/Makefile.thinlto | |
| parent | dc59e4fea9d83f03bad6bddf3fa2e52491777482 (diff) | |
| download | linux-stable-62ef2a96fe7e66b8b5c4e756a8454146adee1817.tar.gz linux-stable-62ef2a96fe7e66b8b5c4e756a8454146adee1817.zip | |
PCI/pwrctrl: tc9563: Take i2c adapter module reference
The i2c subsystem currently blocks during adapter deregistration whenever
there are consumers holding a reference.
Switch to using of_get_i2c_adapter_by_node() which also takes a reference
to the adapter module so that an attempt to unload the module while in use
fails gracefully instead of blocking uninterruptibly.
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>
Reviewed-by: Manivannan Sadhasivam <mani@kernel.org>
Link: https://patch.msgid.link/20260716132532.1565340-1-johan@kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
