Browse Source

drm/msm/dsi: Fixup missing *break* statement during cmd rx

Signed-off-by: Hai Li <hali@codeaurora.org>
Hai Li 10 years ago
parent
commit
651ad3f52b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      drivers/gpu/drm/msm/dsi/dsi_host.c

+ 1 - 0
drivers/gpu/drm/msm/dsi/dsi_host.c

@@ -1797,6 +1797,7 @@ int msm_dsi_host_cmd_rx(struct mipi_dsi_host *host,
 	case MIPI_DSI_RX_ACKNOWLEDGE_AND_ERROR_REPORT:
 	case MIPI_DSI_RX_ACKNOWLEDGE_AND_ERROR_REPORT:
 		pr_err("%s: rx ACK_ERR_PACLAGE\n", __func__);
 		pr_err("%s: rx ACK_ERR_PACLAGE\n", __func__);
 		ret = 0;
 		ret = 0;
+		break;
 	case MIPI_DSI_RX_GENERIC_SHORT_READ_RESPONSE_1BYTE:
 	case MIPI_DSI_RX_GENERIC_SHORT_READ_RESPONSE_1BYTE:
 	case MIPI_DSI_RX_DCS_SHORT_READ_RESPONSE_1BYTE:
 	case MIPI_DSI_RX_DCS_SHORT_READ_RESPONSE_1BYTE:
 		ret = dsi_short_read1_resp(buf, msg);
 		ret = dsi_short_read1_resp(buf, msg);