Skip to content

Commit b23f601

Browse files
committed
vc4/drm: Fix bad upstream merge
Signed-off-by: Dom Cobley <[email protected]>
1 parent b300319 commit b23f601

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/gpu/drm/vc4/vc4_hdmi.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2533,6 +2533,8 @@ static int vc4_hdmi_cec_disable(struct cec_adapter *adap)
25332533

25342534
spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags);
25352535

2536+
pm_runtime_put(&vc4_hdmi->pdev->dev);
2537+
25362538
return 0;
25372539
}
25382540

@@ -2678,8 +2680,6 @@ static int vc4_hdmi_cec_init(struct vc4_hdmi *vc4_hdmi)
26782680
if (ret < 0)
26792681
goto err_remove_handlers;
26802682

2681-
pm_runtime_put(&vc4_hdmi->pdev->dev);
2682-
26832683
return 0;
26842684

26852685
err_remove_handlers:

0 commit comments

Comments
 (0)