Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 69f41573 authored by Vishnuvardhan Prodduturi's avatar Vishnuvardhan Prodduturi
Browse files

disp: msm: dsi: Add missing LAST_COMMAND support in debugfs path



Existing debugfs path for sending DCS command never sets LAST_COMMAND
flag due to which commands are not sent to panel. This patches fixes
the same.

Change-Id: I5fd4cbfca2842736a28d3e75e74f49dafa83e4cc
Signed-off-by: default avatarVishnuvardhan Prodduturi <vproddut@codeaurora.org>
parent 3a64d56d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -884,6 +884,9 @@ static int dsi_display_cmd_prepare(const char *cmd_buf, u32 cmd_buf_len,
		return -EINVAL;
	}

	if (cmd->last_command)
		cmd->msg.flags |= MIPI_DSI_MSG_LASTCOMMAND;

	for (i = 0; i < cmd->msg.tx_len; i++)
		payload[i] = cmd_buf[7 + i];