Эх сурвалжийг харах

disp: msm: dsi: error handling during debugfs command transfer

Change clears the DSI TX command buffer allocated for debugfs
command transfers and destroys the command packets in case of
error during command transfer.

Change-Id: Ia1e822b9b60d44f7eba325116d416916419471fa
Signed-off-by: Satya Rama Aditya Pinapala <[email protected]>
Satya Rama Aditya Pinapala 4 жил өмнө
parent
commit
3cf46fba79
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      msm/dsi/dsi_display.c

+ 1 - 1
msm/dsi/dsi_display.c

@@ -1089,7 +1089,7 @@ int dsi_display_cmd_transfer(struct drm_connector *connector,
 					&cmds->msg);
 			if (rc < 0) {
 				DSI_ERR("failed to send command, rc=%d\n", rc);
-				goto end;
+				break;
 			}
 			if (cmds->post_wait_ms)
 				usleep_range(cmds->post_wait_ms*1000,