drm/exynos: hdmi: 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: Inki Dae <inki.dae@samsung.com>
This commit is contained in:
Johan Hovold 2026-07-16 15:18:02 +02:00 • committed by Inki Dae
commit 99b1947ba2
No known key found for this signature in database
GPG key ID: C5601BECE83FF9B6