Re: [PATCH] drm/bridge: ti-sn65dsi86: Put the host node if DSI attachment fails
From: Krzysztof Kozlowski
Date: Tue Nov 03 2026 - 02:12:17 EST
On 03/11/2026 07:51, Wentao Liang wrote:
> ti_sn_bridge_parse_dsi_host() takes a reference to the remote DSI host
> node. If ti_sn_attach_host() fails, ti_sn_bridge_probe() removes the
> bridge but leaves the node reference held. The remove callback is not
> called after failed probe, so a deferred probe can leak another reference
> on each attempt.
>
> Drop the host node reference in the existing attachment failure path.
>
> Fixes: c3b75d4734cb ("drm/bridge: sn65dsi86: Register and attach our DSI device at probe")
> Cc: stable@xxxxxxxxxxxxxxx
> Assisted-by: DeepSeek-V4.1-Flash and OpenAI Codex
Not even bothering to run checkpatch.
> Signed-off-by: Wentao Liang <vulab@xxxxxxxxxxx>
Another fake identity of "vulab" doing exactly the same as other cases,
repeating same mistake of running unsupervised crappy bot even though
was asked multiple times to fix that.
Best regards,
Krzysztof