Re: [PATCH v2 2/2] drm/panel-edp: take i2c adapter module reference
From: Doug Anderson
Date: Fri Jul 17 2026 - 13:10:00 EST
Hi,
On Fri, Jul 17, 2026 at 7:32 AM Johan Hovold <johan@xxxxxxxxxx> wrote:
>
> 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@xxxxxxxxxx>
> ---
> drivers/gpu/drm/panel/panel-edp.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>