disp: msm: dsi: handle read cmd tx failure from dsi host transfer

Currently we are handling only write command transfer failures from
dsi host transfer path. Modify check to handle read command transfer
failures.

Change-Id: Iee1dbf46a4374819e6d6425eb5acece8ec1fb8b1
Signed-off-by: Srihitha Tangudu <quic_tangudu@quicinc.com>
This commit is contained in:
Srihitha Tangudu 2022-04-12 12:52:02 +05:30 committed by Gerrit - the friendly Code Review server
parent 1438587222
commit 43cb27c187

View File

@ -3340,7 +3340,7 @@ static ssize_t dsi_host_transfer(struct mipi_dsi_host *host,
rc = dsi_ctrl_cmd_transfer(display->ctrl[ctrl_idx].ctrl, msg, rc = dsi_ctrl_cmd_transfer(display->ctrl[ctrl_idx].ctrl, msg,
&cmd_flags); &cmd_flags);
if (rc) { if (rc < 0) {
DSI_ERR("[%s] cmd transfer failed, rc=%d\n", DSI_ERR("[%s] cmd transfer failed, rc=%d\n",
display->name, rc); display->name, rc);
goto error_disable_cmd_engine; goto error_disable_cmd_engine;