diff mbox

[7/7] drm/i915: Return boolean status not error code from intel_crtc_mode_fixup()

Message ID 1275835224-10872-7-git-send-email-chris@chris-wilson.co.uk
State Deferred, archived
Headers show

Commit Message

Chris Wilson June 6, 2010, 2:40 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/gpu/drm/i915/intel_display.c b/drivers/gpu/drm/i915/intel_display.c
index e620825..8fed027 100644
--- a/drivers/gpu/drm/i915/intel_display.c
+++ b/drivers/gpu/drm/i915/intel_display.c
@@ -2354,7 +2354,7 @@  static bool intel_crtc_mode_fixup(struct drm_crtc *crtc,
 	if (HAS_PCH_SPLIT(dev)) {
 		/* FDI link clock is fixed at 2.7G */
 		if (mode->clock * 3 > 27000 * 4)
-			return MODE_CLOCK_HIGH;
+			return false;
 	}
 
 	drm_mode_set_crtcinfo(adjusted_mode, 0);