mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 02:30:34 +02:00 
			
		
		
		
	drm/i915/display: log fail from intel_sdvo_enable_hotplug
Report in log if intel_sdvo_enable_hotplug failed Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com> Reviewed-by: Suraj Kandpal <suraj.kandpal@intel.com> Signed-off-by: Mika Kahola <mika.kahola@intel.com> Link: https://lore.kernel.org/r/20250905104626.1274147-2-juhapekka.heikkila@gmail.com
This commit is contained in:
		
							parent
							
								
									7d8a7ec813
								
							
						
					
					
						commit
						1de89eca20
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -2052,8 +2052,10 @@ static void intel_sdvo_enable_hotplug(struct intel_encoder *encoder)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
	struct intel_sdvo *intel_sdvo = to_sdvo(encoder);
 | 
						struct intel_sdvo *intel_sdvo = to_sdvo(encoder);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	intel_sdvo_write_cmd(intel_sdvo, SDVO_CMD_SET_ACTIVE_HOT_PLUG,
 | 
						if (!intel_sdvo_write_cmd(intel_sdvo, SDVO_CMD_SET_ACTIVE_HOT_PLUG,
 | 
				
			||||||
			     &intel_sdvo->hotplug_active, 2);
 | 
									  &intel_sdvo->hotplug_active, 2))
 | 
				
			||||||
 | 
							drm_warn(intel_sdvo->base.base.dev,
 | 
				
			||||||
 | 
								 "Failed to enable hotplug on SDVO encoder\n");
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static enum intel_hotplug_state
 | 
					static enum intel_hotplug_state
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue