소스 검색

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 년 전
부모
커밋
1cfb7a84a6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      msm/sde/sde_encoder_phys_cmd.c

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