drm/imx: parallel-display: add the bridge before attaching it

Invoking drm_bridge_add() is good practice, so add it to this driver.

Link: https://lore.kernel.org/all/[email protected]
Signed-off-by: Luca Ceresoli <[email protected]>
Reviewed-by: Louis Chauvet <[email protected]>
Link: https://patch.msgid.link/20251014-drm-bridge-alloc-imx-ipuv3-v1-2-a1bb1dcbff50@bootlin.com
Signed-off-by: Philipp Zabel <[email protected]>
This commit is contained in:
Luca Ceresoli
2025-10-30 16:55:19 +01:00
committed by Philipp Zabel
parent 3257bd193f
commit bf7e97910b
@@ -256,6 +256,8 @@ static int imx_pd_probe(struct platform_device *pdev)
platform_set_drvdata(pdev, imxpd);
devm_drm_bridge_add(dev, &imxpd->bridge);
return component_add(dev, &imx_pd_ops);
}