summaryrefslogtreecommitdiff
path: root/src/i830_sdvo.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2007-12-13 15:10:43 -0500
committerAdam Jackson <ajax@redhat.com>2007-12-13 15:10:43 -0500
commit5cbb4110116f6d4187fd27660a78203caa1da46b (patch)
treeb45ea401b9c9a8c5a8778a2e050d335aa2aac0a0 /src/i830_sdvo.c
parente03bc385e924222d3d5f3c9a8d65e1ef63b858dc (diff)
i830_sdvo_mode_valid: Fix return values to match what we actually check.
Diffstat (limited to 'src/i830_sdvo.c')
-rw-r--r--src/i830_sdvo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/i830_sdvo.c b/src/i830_sdvo.c
index 27677152..6b7037e2 100644
--- a/src/i830_sdvo.c
+++ b/src/i830_sdvo.c
@@ -900,10 +900,10 @@ i830_sdvo_mode_valid(xf86OutputPtr output, DisplayModePtr pMode)
return MODE_NO_DBLESCAN;
if (dev_priv->pixel_clock_min > pMode->Clock)
- return MODE_CLOCK_HIGH;
+ return MODE_CLOCK_LOW;
if (dev_priv->pixel_clock_max < pMode->Clock)
- return MODE_CLOCK_LOW;
+ return MODE_CLOCK_HIGH;
return MODE_OK;
}