disp: msm: dsi: clear ctrl_flags for private DCS panel command
DSI or panel configurations might be changed dynamically, so clear ctrl_flags of private DCS command to regenerate it according to current display configurations. Change-Id: Iddfcbe7f14de65ed0edf408a75b0a50bdb0a2d29 Signed-off-by: Lei Chen <chenlei@codeaurora.org>
Cette révision appartient à :
@@ -436,6 +436,8 @@ static int dsi_panel_tx_cmd_set(struct dsi_panel *panel,
|
|||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
cmds->ctrl_flags = 0;
|
||||||
|
|
||||||
for (i = 0; i < count; i++) {
|
for (i = 0; i < count; i++) {
|
||||||
if (state == DSI_CMD_SET_STATE_LP)
|
if (state == DSI_CMD_SET_STATE_LP)
|
||||||
cmds->msg.flags |= MIPI_DSI_MSG_USE_LPM;
|
cmds->msg.flags |= MIPI_DSI_MSG_USE_LPM;
|
||||||
|
Référencer dans un nouveau ticket
Bloquer un utilisateur