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

This commit is contained in:
qctecmdr 2022-04-27 23:10:05 -07:00 • committed by Gerrit - the friendly Code Review server
commit 0bd399fda0

View file

@ -3341,7 +3341,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;