Re: [PATCH v2 2/2] drm/panel-edp: take i2c adapter module reference

From: Doug Anderson

Date: Fri Jul 24 2026 - 11:12:26 EST


Hi,

On Fri, Jul 17, 2026 at 10:04 AM Doug Anderson <dianders@xxxxxxxxxxxx> wrote:
>
> 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>

Pushed to drm-misc-next:

[2/2] drm/panel-edp: take i2c adapter module reference
commit: c7b77a538e01bb3289ae9eec70fc315f99798594