Re: [PATCH v3 11/22] drm/meson: encoder_dsi: get/put the next bridge
From: Martin Blumenstingl
Date: Sun Dec 21 2025 - 16:50:50 EST
On Tue, Dec 16, 2025 at 7:00 PM Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx> wrote:
>
> This driver obtains a bridge pointer from of_drm_find_bridge() in the probe
> function and stores it until driver removal. of_drm_find_bridge() is
> deprecated. Move to of_drm_find_and_get_bridge() for the bridge to be
> refcounted and use bridge->next_bridge to put the reference on
> deallocation.
>
> Signed-off-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@xxxxxxxxxxxxxx>