|
@@ -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);
|
|
|
}
|