diff options
author | Nicolas Kaiser <nikai@nikai.net> | 2011-05-30 12:48:26 +0200 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2011-06-04 19:40:35 +0200 |
commit | 5cbba41d2857477bd9a008f2d82c0622db1a8dee (patch) | |
tree | 54fe176fe64971383e7a7bb5b9313e2f5ef272ea /drivers/gpu | |
parent | drm/i915: fix regression after clock gating init split (diff) | |
download | linux-5cbba41d2857477bd9a008f2d82c0622db1a8dee.tar.xz linux-5cbba41d2857477bd9a008f2d82c0622db1a8dee.zip |
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')
-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 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, 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; |