aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Kaiser <nikai@nikai.net>2011-05-30 06:48:26 -0400
committerKeith Packard <keithp@keithp.com>2011-06-04 13:40:35 -0400
commit5cbba41d2857477bd9a008f2d82c0622db1a8dee (patch)
tree54fe176fe64971383e7a7bb5b9313e2f5ef272ea
parent95e0ee92d3a605de75a633dd2360700595d5a8ad (diff)
drm: i915: correct return status in intel_hdmi_mode_valid()
Signed-off-by: Nicolas Kaiser <nikai@nikai.net> Reviewed-by: Keith Packard <keithp@keithp.com> Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--drivers/gpu/drm/i915/intel_hdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c
index f289b8642976..655bbd9ed9e3 100644
--- a/drivers/gpu/drm/i915/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/intel_hdmi.c
@@ -194,7 +194,7 @@ static int intel_hdmi_mode_valid(struct drm_connector *connector,
194 if (mode->clock > 165000) 194 if (mode->clock > 165000)
195 return MODE_CLOCK_HIGH; 195 return MODE_CLOCK_HIGH;
196 if (mode->clock < 20000) 196 if (mode->clock < 20000)
197 return MODE_CLOCK_HIGH; 197 return MODE_CLOCK_LOW;
198 198
199 if (mode->flags & DRM_MODE_FLAG_DBLSCAN) 199 if (mode->flags & DRM_MODE_FLAG_DBLSCAN)
200 return MODE_NO_DBLESCAN; 200 return MODE_NO_DBLESCAN;