drm/i915: Avoid confusion between DP and TRANS_DP_CTL in DP .get_config()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 6 Jul 2015 12:10:03 +0000 (15:10 +0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 14 Aug 2015 16:16:36 +0000 (18:16 +0200)
commitb81e34c29e67f5b3e5ce28b5055ae2ca59c36f7b
tree5d7ecb78ac487000c3037a0623f1a1855c2a0304
parent96f3f1f905e9c4977220fa07477cd8a8ed4af4da
drm/i915: Avoid confusion between DP and TRANS_DP_CTL in DP .get_config()

Use a separate variable for the TRANS_DP_CTL value instead of reusing
'tmp' that otherwise contains the DP port register value.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Sivakumar Thulasimani <sivakumar.thulasimani@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c