dsi: fix motUtil mipi read error

MIPI_DSI_MSG_READ in msg.flags caused dsi panel detect error. Thus
motUtil mipi read block somewhere. Remove it.

Change-Id: I41efade780574893408190bf43b626fbf3b97856
Reviewed-on: https://gerrit.mot.com/1783186
SLTApproved: Slta Waiver
SME-Granted: SME Approvals Granted
Tested-by: Jira Key
Reviewed-by: Yeqing Wang <wangyq13@motorola.com>
Reviewed-by: Shanshan Dai <daiss1@motorola.com>
Reviewed-by: Huosheng Liao <liaohs@motorola.com>
Submit-Approved: Jira Key
This commit is contained in:
zhanggb 2020-08-26 18:41:14 +08:00 • committed by tongkun1
commit e2b72b2548

View file

@ -1150,7 +1150,7 @@ static int dsi_display_dispUtil_prepare(const char *cmd_buf, u32 cmd_buf_len,
/* DISPUTIL_CMD_TYPE = 1 for DSI write cmd
* DISPUTIL_CMD_TYPE = 0 for DSI read cmd */
if (cmd_buf[DISPUTIL_CMD_TYPE] == DISPUTIL_DSI_READ) {
cmd->msg.flags |= MIPI_DSI_MSG_READ; /* This is a read DSI */
//cmd->msg.flags |= MIPI_DSI_MSG_READ; /* This is a read DSI */
cmd->msg.rx_buf = motUtil_data->rd_buf;
/* cmd_buf[3] = number bytes host wants to read */
cmd->msg.rx_len = cmd_buf[DISPUTIL_NUM_BYTE_RD];