[PATCH] drm/mediatek: mtk_hdmi_common: take i2c adapter module reference
Chun-Kuang Hu
chunkuang.hu at kernel.org
Thu Jul 23 17:10:34 PDT 2026
Johan Hovold <johan at kernel.org> 於 2026年7月16日週四 下午1:21寫道:
>
> 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.
Applied to mediatek-drm-fixes [1], thanks.
[1] https://git.kernel.org/pub/scm/linux/kernel/git/chunkuang.hu/linux.git/log/?h=mediatek-drm-fixes
Regards,
Chun-Kuang.
>
> Signed-off-by: Johan Hovold <johan at kernel.org>
> ---
More information about the Linux-mediatek
mailing list