aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/gpu/drm/drm_edid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c
index 681753e57dc7..0fbb0da342cb 100644
--- a/drivers/gpu/drm/drm_edid.c
+++ b/drivers/gpu/drm/drm_edid.c
@@ -205,7 +205,7 @@ static void edid_fixup_preferred(struct drm_connector *connector,
205 u32 quirks) 205 u32 quirks)
206{ 206{
207 struct drm_display_mode *t, *cur_mode, *preferred_mode; 207 struct drm_display_mode *t, *cur_mode, *preferred_mode;
208 int target_refresh; 208 int target_refresh = 0;
209 209
210 if (list_empty(&connector->probed_modes)) 210 if (list_empty(&connector->probed_modes))
211 return; 211 return;