Эх сурвалжийг харах

disp: msm: sde: perform cmd encoder disable only for master

In dual DSI cases sde_encoder_helper_phys_disable needs to be
called only for master encoder.

Change-Id: If2d327a4800914fe365c6877bf7854275a4434ae
Signed-off-by: Raviteja Tamatam <[email protected]>
Raviteja Tamatam 4 жил өмнө
parent
commit
090b3ad235

+ 2 - 2
msm/sde/sde_encoder_phys_cmd.c

@@ -1344,8 +1344,8 @@ static void sde_encoder_phys_cmd_disable(struct sde_encoder_phys *phys_enc)
 		else if (phys_enc->hw_pp->ops.enable_tearcheck)
 			phys_enc->hw_pp->ops.enable_tearcheck(phys_enc->hw_pp,
 					false);
-		sde_encoder_helper_phys_disable(phys_enc, NULL);
-
+		if (sde_encoder_phys_cmd_is_master(phys_enc))
+			sde_encoder_helper_phys_disable(phys_enc, NULL);
 		if (phys_enc->hw_intf->ops.reset_counter)
 			phys_enc->hw_intf->ops.reset_counter(phys_enc->hw_intf);
 	}