Re: [PATCH] drm/bridge: fsl-ldb: Remove panel naming and use scoped device_node cleanup

From: Luca Ceresoli

Date: Thu Nov 05 2026 - 03:07:32 EST


Hi Laurentiu,

On Thu Nov 5, 2026 at 8:25 AM CET, Laurentiu Palcu wrote:
> Hi Luca,
>
> On Wed, Nov 04, 2026 at 06:56:41PM +0100, Luca Ceresoli wrote:
>> On Fri Oct 30, 2026 at 5:32 PM CET, Laurentiu Palcu wrote:
>> > The remote endpoint node is not necessarily a panel, so drop the "panel"
>> > naming and refer to the next bridge instead. Update the error message
>> > printed when no output port is connected.
>> >
>> > While at it, convert the device_node handling in fsl_ldb_probe() to use
>> > the __free(device_node) cleanup helper. Since remote1 and remote2 now
>> > stay valid until the function returns, pass the selected one directly to
>> > of_drm_find_and_get_bridge() and drop the extra panel_node reference.
>> > Do the same for the dual-link port1/port2 lookups.
>> >
>> > No functional change intended, other than the updated error message.
>> >
>> > Signed-off-by: Laurentiu Palcu <laurentiu.palcu@xxxxxxxxxxx>
>>
>> I wanted to test this patch but it does not apply on current
>> drm-misc-next.
>
> Sorry about that, I made these changes on top of Dario's patch [1],
> touching the same file. I thought that would probably be applied first.
> FWIW, my patch applies cleanly on drm-misc-next if [1] is applied first.

Ah, indeed, thanks for clarifying!

Next time you send a series depending on another one, please mention it in
the cover letter or (if there is no cover as in this case) below the '---'
cut line.

Dario's patch applied right now, so I could apply and test yours:

Reviewed-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>
Tested-by: Luca Ceresoli <luca.ceresoli@xxxxxxxxxxx>

Luca

--
Luca Ceresoli, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com