mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-03-09 15:40:20 +00:00
25 lines
797 B
Diff
25 lines
797 B
Diff
From 4f27680a9b8475616b03dd997433d84ccc447b9c Mon Sep 17 00:00:00 2001
|
|
From: Dom Cobley <popcornmix@gmail.com>
|
|
Date: Tue, 13 Aug 2024 16:13:16 +0100
|
|
Subject: [PATCH 652/697] drm/vc4: Implement vc6_hdmi_phy_disable
|
|
|
|
The body of this function was missing so we don't reset the phy
|
|
when disabling it.
|
|
|
|
Signed-off-by: Dom Cobley <popcornmix@gmail.com>
|
|
---
|
|
drivers/gpu/drm/vc4/vc4_hdmi_phy.c | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
--- a/drivers/gpu/drm/vc4/vc4_hdmi_phy.c
|
|
+++ b/drivers/gpu/drm/vc4/vc4_hdmi_phy.c
|
|
@@ -1197,4 +1197,9 @@ void vc6_hdmi_phy_init(struct 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);
|
|
}
|