diff options
| author | Sandeep Panda <spanda@codeaurora.org> | 2017-05-19 15:54:16 +0530 |
|---|---|---|
| committer | Sandeep Panda <spanda@codeaurora.org> | 2017-05-19 15:58:14 +0530 |
| commit | d70fb72fed6aa11717806a4b0bf52cf9797f6e63 (patch) | |
| tree | 53f33ae536e4030756eac2af5be9934431e42b96 | |
| parent | 5404e35069576a8cd8203065f60975e34a5f727b (diff) | |
msm: mdss: do not print error in case sync_trigger is enabled
In case sync trigger is enabled, then DCS commands are only
sent for both the DSI controller when transfer call for the
second DSI controller happens. So in that case do not print
error log for the first controller if DCS command is not sent.
Change-Id: I5c302f55f15735970cd5f6c8d0b31c55b447433f
Signed-off-by: Sandeep Panda <spanda@codeaurora.org>
| -rw-r--r-- | drivers/video/fbdev/msm/mdss_dsi_host.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/video/fbdev/msm/mdss_dsi_host.c b/drivers/video/fbdev/msm/mdss_dsi_host.c index 1a471155072b..537d6213f891 100644 --- a/drivers/video/fbdev/msm/mdss_dsi_host.c +++ b/drivers/video/fbdev/msm/mdss_dsi_host.c @@ -1154,6 +1154,8 @@ static int mdss_dsi_read_status(struct mdss_dsi_ctrl_pdata *ctrl) rc = mdss_dsi_cmdlist_put(ctrl, &cmdreq); if (rc <= 0) { + if (!mdss_dsi_sync_wait_enable(ctrl) || + mdss_dsi_sync_wait_trigger(ctrl)) pr_err("%s: get status: fail\n", __func__); return rc; } |
