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 <quic_ngunabal@quicinc.com>
此提交包含在:
Nilaan Gunabalachandran
2023-03-09 15:34:58 -05:00
提交者 Gerrit - the friendly Code Review server
父節點 1ca5ff7768
當前提交 d483cbe62a

查看文件

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