Skip to content

Commit

Permalink
drm/vc4: Implement vc6_hdmi_phy_disable
Browse files Browse the repository at this point in the history
The body of this function was missing so we don't reset the phy
when disabling it.

Signed-off-by: Dom Cobley <[email protected]>
  • Loading branch information
popcornmix committed Aug 13, 2024
1 parent 733e7a5 commit 75c37d0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/gpu/drm/vc4/vc4_hdmi_phy.c
Original file line number Diff line number Diff line change
Expand Up @@ -1197,4 +1197,9 @@ void vc6_hdmi_phy_init(struct vc4_hdmi *vc4_hdmi,

void vc6_hdmi_phy_disable(struct vc4_hdmi *vc4_hdmi)
{
unsigned long flags;

spin_lock_irqsave(&vc4_hdmi->hw_lock, flags);
vc6_hdmi_reset_phy(vc4_hdmi);
spin_unlock_irqrestore(&vc4_hdmi->hw_lock, flags);
}

0 comments on commit 75c37d0

Please sign in to comment.