diff options
author | Syam Sidhardhan <syamsidhardh@gmail.com> | 2013-02-24 23:35:38 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-03-03 18:19:48 +0100 |
commit | f3e227df8235fc0bf8ba08304aa135066ec9b9b0 (patch) | |
tree | f149c8b173217fb4ec8366b3816e3b055594e5e1 /drivers | |
parent | drm/i915: Revert hdmi HDP pin checks (diff) | |
download | linux-f3e227df8235fc0bf8ba08304aa135066ec9b9b0.tar.xz linux-f3e227df8235fc0bf8ba08304aa135066ec9b9b0.zip |
drm/i915: Fix missing variable initilization
Need to initialize the variable wait to false.
Signed-off-by: Syam Sidhardhan <s.syam@samsung.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/gpu/drm/i915/intel_ddi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_ddi.c b/drivers/gpu/drm/i915/intel_ddi.c index 816c45c71b72..24debd6066a7 100644 --- a/drivers/gpu/drm/i915/intel_ddi.c +++ b/drivers/gpu/drm/i915/intel_ddi.c @@ -1391,8 +1391,8 @@ void intel_ddi_prepare_link_retrain(struct drm_encoder *encoder) struct intel_dp *intel_dp = &intel_dig_port->dp; struct drm_i915_private *dev_priv = encoder->dev->dev_private; enum port port = intel_dig_port->port; - bool wait; uint32_t val; + bool wait = false; if (I915_READ(DP_TP_CTL(port)) & DP_TP_CTL_ENABLE) { val = I915_READ(DDI_BUF_CTL(port)); |