drm/msm/dsi: check video mode engine status before waiting
authorAbhinav Kumar <abhinavk@codeaurora.org>
Tue, 17 Apr 2018 20:50:18 +0000 (13:50 -0700)
committerRob Clark <robdclark@gmail.com>
Sun, 3 Jun 2018 20:48:59 +0000 (16:48 -0400)
commit9c5638d78df23e3fc5a6f15972f6fc20939ffe8b
treea3a11038953772abe791e6e63f5a758454d0097f
parent79ebc86c41959113009e3d9b17dc2d4547512ac9
drm/msm/dsi: check video mode engine status before waiting

Make sure the video mode engine is on before waiting
for the video done interrupt.

Changes in v4:
- Move setting enabled to false earlier

Changes in v3:
- Move the return value check to another
  patch

Changes in v2:
- Replace pr_err with dev_err
- Changed error message

Signed-off-by: Abhinav Kumar <abhinavk@codeaurora.org>
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/dsi/dsi_host.c