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

Commit 59558240 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drm/msm/dsi-staging: fix ESD check command transfer failure"

parents a1d96ebc ab1c253e
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -259,7 +259,11 @@ static int dsi_display_read_status(struct dsi_display_ctrl *ctrl,
	lenp = config->status_valid_params ?: config->status_cmds_rlen;
	count = config->status_cmd.count;
	cmds = config->status_cmd.cmds;
	flags = (DSI_CTRL_CMD_FETCH_MEMORY | DSI_CTRL_CMD_READ);
	if (cmds->last_command) {
		cmds->msg.flags |= MIPI_DSI_MSG_LASTCOMMAND;
		flags |= DSI_CTRL_CMD_LAST_COMMAND;
	}
	flags |= (DSI_CTRL_CMD_FETCH_MEMORY | DSI_CTRL_CMD_READ);

	for (i = 0; i < count; ++i) {
		memset(config->status_buf, 0x0, SZ_4K);