disp: msm: sde: fix vrefresh condition check in TE config

Fix invalid condition in TE configuration missed during
porting of previous change.

Change-Id: Ie6b1926e6fdd1e0ec3b520593b1e5cbfbf9e4202
Signed-off-by: Amine Najahi <anajahi@codeaurora.org>
This commit is contained in:
Amine Najahi
2021-01-26 13:40:26 -05:00
والد 8bb1e0a34d
کامیت 1cfb7a84a6

مشاهده پرونده

@@ -1059,7 +1059,7 @@ static void sde_encoder_phys_cmd_tearcheck_config(
* frequency divided by the no. of rows (lines) in the LCDpanel.
*/
vsync_hz = sde_power_clk_get_rate(&priv->phandle, "vsync_clk");
if (!vsync_hz || !mode->vtotal || vrefresh) {
if (!vsync_hz || !mode->vtotal || !vrefresh) {
SDE_DEBUG_CMDENC(cmd_enc,
"invalid params - vsync_hz %u vtot %u vrefresh %u\n",
vsync_hz, mode->vtotal, vrefresh);