File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -256,12 +256,12 @@ static int zynqmp_dpsub_probe(struct platform_device *pdev)
256256 if (ret )
257257 goto err_dp ;
258258
259+ drm_bridge_add (dpsub -> bridge );
260+
259261 if (dpsub -> dma_enabled ) {
260262 ret = zynqmp_dpsub_drm_init (dpsub );
261263 if (ret )
262264 goto err_disp ;
263- } else {
264- drm_bridge_add (dpsub -> bridge );
265265 }
266266
267267 dev_info (& pdev -> dev , "ZynqMP DisplayPort Subsystem driver probed" );
@@ -288,9 +288,8 @@ static void zynqmp_dpsub_remove(struct platform_device *pdev)
288288
289289 if (dpsub -> drm )
290290 zynqmp_dpsub_drm_cleanup (dpsub );
291- else
292- drm_bridge_remove (dpsub -> bridge );
293291
292+ drm_bridge_remove (dpsub -> bridge );
294293 zynqmp_disp_remove (dpsub );
295294 zynqmp_dp_remove (dpsub );
296295
You can’t perform that action at this time.
0 commit comments