drm: i915: correct return status in intel_hdmi_mode_valid()
authorNicolas Kaiser <nikai@nikai.net>
Mon, 30 May 2011 10:48:26 +0000 (12:48 +0200)
committerKeith Packard <keithp@keithp.com>
Sat, 4 Jun 2011 17:40:35 +0000 (10:40 -0700)
Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
Signed-off-by: Keith Packard <keithp@keithp.com>
drivers/gpu/drm/i915/intel_hdmi.c

index f289b86429762e7b644e3b454c7f8b1a0d345987..655bbd9ed9e3e52cb68ae0c9e4249ba920dff733 100644 (file)
@@ -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;