Re: [PATCH] drm/bridge: ti-sn65dsi86: Fix DSI host node reference leak

From: Doug Anderson

Date: Mon Nov 30 2026 - 17:41:44 EST


Hi,

On Wed, Nov 18, 2026 at 9:24 AM Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx> wrote:
>
> On Wed Nov 18, 2026 at 5:42 PM CET, Doug Anderson wrote:
> > Hi,
> >
> > On Wed, Nov 18, 2026 at 7:01 AM Haoxiang Li <haoxiang_li2024@xxxxxxx> wrote:
> >>
> >> ti_sn_bridge_parse_dsi_host() acquires a reference to the remote DSI
> >> host node with of_graph_get_remote_node(). If ti_sn_attach_host()
> >> fails, the probe error path removes the bridge but does not release
> >> this reference.
> >>
> >> Call of_node_put() after removing the bridge in the probe error path.
> >>
> >> Fixes: c3b75d4734cb ("drm/bridge: sn65dsi86: Register and attach our DSI device at probe")
> >> Signed-off-by: Haoxiang Li <haoxiang_li2024@xxxxxxx>
> >> ---
> >> drivers/gpu/drm/bridge/ti-sn65dsi86.c | 1 +
> >> 1 file changed, 1 insertion(+)
> >
> > Reviewed-by: Douglas Anderson <dianders@xxxxxxxxxxxx>
>
> Reviewed-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>
> Tested-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>
>
> > I'll probably let this sit for a bit and then merge it in a week or
> > two. It doesn't seem urgent, so I'd plan to land it in drm-misc-next
> > instead of -fixes. If anyone else feels like landing it sooner, feel
> > free.
>
> Agreed.
>
> Luca

Pushed to drm-misc-next:

[1/1] drm/bridge: ti-sn65dsi86: Fix DSI host node reference leak
commit: 5de4885dae61a0e1708402e1fbf8f9d600ef1f4f