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

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 <[email protected]>
Amine Najahi 4 жил өмнө
parent
commit
1cfb7a84a6

+ 1 - 1
msm/sde/sde_encoder_phys_cmd.c

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