From e2b72b25483e6db8a29a0dc431e85e0397351304 Mon Sep 17 00:00:00 2001 From: zhanggb Date: Wed, 26 Aug 2020 18:41:14 +0800 Subject: [PATCH] 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 Reviewed-by: Shanshan Dai Reviewed-by: Huosheng Liao Submit-Approved: Jira Key --- msm/dsi/dsi_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/msm/dsi/dsi_display.c b/msm/dsi/dsi_display.c index 7d517d3f36e4..ec139ac49bc1 100644 --- a/msm/dsi/dsi_display.c +++ b/msm/dsi/dsi_display.c @@ -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];