mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 13:49:24 -04:00
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:
parent
e63a7de99a
commit
e2b72b2548
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in a new issue