diff options
author | Madhav Chauhan <madhav.chauhan@intel.com> | 2017-03-01 21:31:22 +0300 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2017-03-02 17:34:13 +0300 |
commit | 9ce53745edd515ebfc1d5f9bd3ded77dabce27fd (patch) | |
tree | 24b9098f45b3143f46d73d8bae54c4e94379e987 /drivers/gpu/drm/i915/intel_dsi.c | |
parent | 13e867f6faaafe4d7fdaa4a894a061d041d0dc88 (diff) | |
download | linux-9ce53745edd515ebfc1d5f9bd3ded77dabce27fd.tar.xz |
drm/i915/glk: Fix DSI enable I/O sequence
One of the if statement covers the next line in enable I/O sequence.
This patch correct the same by adding error message.
Fixes: 4644848369c0 ("drm/i915/glk: Add MIPIIO Enable/disable sequence")
Reported-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Madhav Chauhan <madhav.chauhan@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1488393082-30660-1-git-send-email-madhav.chauhan@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dsi.c')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dsi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_dsi.c b/drivers/gpu/drm/i915/intel_dsi.c index dd38b6835528..323fc097c3ee 100644 --- a/drivers/gpu/drm/i915/intel_dsi.c +++ b/drivers/gpu/drm/i915/intel_dsi.c @@ -425,6 +425,7 @@ static void glk_dsi_device_ready(struct intel_encoder *encoder) if (intel_wait_for_register(dev_priv, MIPI_CTRL(port), GLK_ULPS_NOT_ACTIVE, GLK_ULPS_NOT_ACTIVE, 20)) + DRM_ERROR("ULPS is still active\n"); /* Exit ULPS */ val = I915_READ(MIPI_DEVICE_READY(port)); |