diff options
author | Nicolas Kaiser <nikai@nikai.net> | 2011-05-30 10:48:26 (GMT) |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-06-04 17:40:35 (GMT) |
commit | 5cbba41d2857477bd9a008f2d82c0622db1a8dee (patch) | |
tree | 54fe176fe64971383e7a7bb5b9313e2f5ef272ea /drivers/gpu/drm/i915 | |
parent | 95e0ee92d3a605de75a633dd2360700595d5a8ad (diff) | |
download | linux-fsl-qoriq-5cbba41d2857477bd9a008f2d82c0622db1a8dee.tar.xz |
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>
Diffstat (limited to 'drivers/gpu/drm/i915')
-rw-r--r-- | drivers/gpu/drm/i915/intel_hdmi.c | 2 |
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 f289b86..655bbd9 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, if (mode->clock > 165000) return MODE_CLOCK_HIGH; if (mode->clock < 20000) - return MODE_CLOCK_HIGH; + return MODE_CLOCK_LOW; if (mode->flags & DRM_MODE_FLAG_DBLSCAN) return MODE_NO_DBLESCAN; |