disp: msm: fix compilation errors for dlkm compilation

Fix dlkm compilation errors that are due to the use of -Werror
flags used by the build system.

Change-Id: I5e1e9bc63c1361d73e4930aab123212717872ecb
Signed-off-by: Tatenda Chipeperekwa <tatendac@codeaurora.org>
This commit is contained in:
Tatenda Chipeperekwa
2020-12-08 15:00:14 -08:00
committed by Abhijit Kulkarni
父節點 1b3ad8486d
當前提交 c6257272d4
共有 31 個文件被更改,包括 87 次插入85 次删除

查看文件

@@ -849,16 +849,16 @@ int sde_connector_pre_kickoff(struct drm_connector *connector)
return -EINVAL;
}
display = (struct dsi_display *)c_conn->display;
/*
* During pre kickoff DCS commands have to have an
* asynchronous wait to avoid an unnecessary stall
* in pre-kickoff. This flag must be reset at the
* end of display pre-kickoff.
*/
if (c_conn->connector_type == DRM_MODE_CONNECTOR_DSI) {
display = (struct dsi_display *)c_conn->display;
if (c_conn->connector_type == DRM_MODE_CONNECTOR_DSI)
display->queue_cmd_waits = true;
}
rc = _sde_connector_update_dirty_properties(connector);
if (rc) {