diff options
| author | 2026-07-17 16:31:19 +0200 | |
|---|---|---|
| committer | 2026-07-24 07:59:12 -0700 | |
| commit | c7b77a538e01bb3289ae9eec70fc315f99798594 (patch) | |
| tree | 572c5d2ad0bb7e93d1f5087af2195fb0534d553b /scripts/Makefile.thinlto | |
| parent | drm/panel-edp: fix i2c adapter leak on probe failure (diff) | |
drm/panel-edp: 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>
Reviewed-by: Douglas Anderson <dianders@chromium.org>
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patch.msgid.link/20260717143119.1815106-3-johan@kernel.org
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
