diff options
| author | Johan Hovold <johan@kernel.org> | 2026-07-16 15:21:03 +0200 |
|---|---|---|
| committer | Chun-Kuang Hu <chunkuang.hu@kernel.org> | 2026-07-23 23:01:29 +0000 |
| commit | d8a0962d3506f7c9fdc3cc49c81ff0b8ded09f2f (patch) | |
| tree | a959bf8cdbd663e36203bccca7323ebc17bd8214 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | d19d8542808c3be5f4af849da6509e877b74d811 (diff) | |
drm/mediatek: mtk_hdmi_common: 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: CK Hu <ck.hu@mediatek.com>
Link: https://patchwork.kernel.org/project/linux-mediatek/patch/20260716132103.1564995-1-johan@kernel.org/
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions
