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

Merge "disp: msm: dsi: reset the DSI command ctrl flags for every command"

qctecmdr 3 жил өмнө
parent
commit
f192f6d6dc
1 өөрчлөгдсөн 2 нэмэгдсэн , 2 устгасан
  1. 2 2
      msm/dsi/dsi_panel.c

+ 2 - 2
msm/dsi/dsi_panel.c

@@ -451,9 +451,9 @@ static int dsi_panel_tx_cmd_set(struct dsi_panel *panel,
 		goto error;
 	}
 
-	cmds->ctrl_flags = 0;
-
 	for (i = 0; i < count; i++) {
+		cmds->ctrl_flags = 0;
+
 		if (state == DSI_CMD_SET_STATE_LP)
 			cmds->msg.flags |= MIPI_DSI_MSG_USE_LPM;