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:
parent
1438587222
commit
43cb27c187
@ -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,
|
||||
&cmd_flags);
|
||||
if (rc) {
|
||||
if (rc < 0) {
|
||||
DSI_ERR("[%s] cmd transfer failed, rc=%d\n",
|
||||
display->name, rc);
|
||||
goto error_disable_cmd_engine;
|
||||
|
Loading…
Reference in New Issue
Block a user