mirror of
https://github.com/torvalds/linux.git
synced 2026-12-02 03:22:37 +00:00
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:
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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user