The patches were generated from the RPi repo with the following command: git format-patch v6.6.58..rpi-6.6.y Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
		
			
				
	
	
		
			26 lines
		
	
	
		
			799 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			799 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
From aa54ce17dc3a19eaf26f9c17c05a18aabcac90b0 Mon Sep 17 00:00:00 2001
 | 
						|
From: Dom Cobley <popcornmix@gmail.com>
 | 
						|
Date: Tue, 13 Aug 2024 16:13:16 +0100
 | 
						|
Subject: [PATCH 1226/1350] 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);
 | 
						|
 }
 |