Ver Fonte

disp: msm: sde: remove avr state check early return

After introducing avr step state, the driver checks for avr
state none before returning early. In the case where avr property
is not being set, this leads to skipping qsync programming.

This change removes this state check.

Change-Id: Ie277dd04b8913358135210131a99c598cf2145ba
Signed-off-by: Nilaan Gunabalachandran <[email protected]>
Nilaan Gunabalachandran há 2 anos atrás
pai
commit
d483cbe62a
1 ficheiros alterados com 0 adições e 2 exclusões
  1. 0 2
      msm/sde/sde_encoder_phys_vid.c

+ 0 - 2
msm/sde/sde_encoder_phys_vid.c

@@ -382,8 +382,6 @@ static void _sde_encoder_phys_vid_avr_ctrl(struct sde_encoder_phys *phys_enc)
 		return;
 
 	avr_step_state = sde_connector_get_property(conn->state, CONNECTOR_PROP_AVR_STEP_STATE);
-	if (avr_step_state == AVR_STEP_NONE)
-		return;
 
 	memset(&avr_params, 0, sizeof(avr_params));
 	avr_params.avr_mode = sde_connector_get_qsync_mode(phys_enc->connector);