drm/i915: Correct the variable holding the value for EOT to write
authorShobhit Kumar <shobhit.kumar@intel.com>
Tue, 3 Feb 2015 06:47:35 +0000 (12:17 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 13 Feb 2015 22:28:00 +0000 (23:28 +0100)
This isuue got introduced in -

commit 24ee0e64909bf7f1953d87d3e1e29d93eafcad73
Author: Gaurav K Singh <gaurav.k.singh@intel.com>
Date:   Fri Dec 5 14:24:21 2014 +0530

    drm/i915: Update the DSI enable path to support dual

Signed-off-by: Shobhit Kumar <shobhit.kumar@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dsi.c

index ef3df5e3d819fcd4dcdbbc2d3dd3d3b91d8fe548..6ce9c4592fe42bf2f80551f251e343a410d660c1 100644 (file)
@@ -855,7 +855,7 @@ static void intel_dsi_prepare(struct intel_encoder *intel_encoder)
 
 
                /* recovery disables */
-               I915_WRITE(MIPI_EOT_DISABLE(port), val);
+               I915_WRITE(MIPI_EOT_DISABLE(port), tmp);
 
                /* in terms of low power clock */
                I915_WRITE(MIPI_INIT_COUNT(port), intel_dsi->init_count);