The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] drm: i915: correct return status in intel_hdmi_mode_valid()
@ 2011-05-20 16:58 Nicolas Kaiser
  0 siblings, 0 replies; only message in thread
From: Nicolas Kaiser @ 2011-05-20 16:58 UTC (permalink / raw)
  To: Chris Wilson; +Cc: David Airlie, dri-devel, linux-kernel

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
---
Untested: just looks to me like the intention might be
to return MODE_CLOCK_LOW here, is that correct?

 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;
-- 
1.7.5.rc3

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-05-20 17:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-20 16:58 [PATCH] drm: i915: correct return status in intel_hdmi_mode_valid() Nicolas Kaiser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox