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)
256
256
if (ret )
257
257
goto err_dp ;
258
258
259
+ drm_bridge_add (dpsub -> bridge );
260
+
259
261
if (dpsub -> dma_enabled ) {
260
262
ret = zynqmp_dpsub_drm_init (dpsub );
261
263
if (ret )
262
264
goto err_disp ;
263
- } else {
264
- drm_bridge_add (dpsub -> bridge );
265
265
}
266
266
267
267
dev_info (& pdev -> dev , "ZynqMP DisplayPort Subsystem driver probed" );
@@ -288,9 +288,8 @@ static void zynqmp_dpsub_remove(struct platform_device *pdev)
288
288
289
289
if (dpsub -> drm )
290
290
zynqmp_dpsub_drm_cleanup (dpsub );
291
- else
292
- drm_bridge_remove (dpsub -> bridge );
293
291
292
+ drm_bridge_remove (dpsub -> bridge );
294
293
zynqmp_disp_remove (dpsub );
295
294
zynqmp_dp_remove (dpsub );
296
295
You can’t perform that action at this time.
0 commit comments