summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--linux-core/intel_display.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/intel_display.c b/linux-core/intel_display.c
index 13936ee2..5ca33f7f 100644
--- a/linux-core/intel_display.c
+++ b/linux-core/intel_display.c
@@ -1129,7 +1129,7 @@ struct drm_crtc *intel_get_load_detect_pipe(struct drm_output *output,
struct drm_crtc *possible_crtc;
struct drm_crtc *supported_crtc =NULL;
struct drm_crtc *crtc = NULL;
- int i = 0;
+ int i = -1;
/*
* Algorithm gets a little messy: