public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Fw: [PATCH] drm: i915: correct return status in intel_hdmi_mode_valid()
@ 2011-05-30 10:48 Nicolas Kaiser
  2011-06-02 23:44 ` Keith Packard
  0 siblings, 1 reply; 2+ messages in thread
From: Nicolas Kaiser @ 2011-05-30 10:48 UTC (permalink / raw)
  To: Keith Packard; +Cc: Chris Wilson, David Airlie, dri-devel, linux-kernel

Forwarding to Keith Packard.
Sorry, initially sent to the previous maintainer instead.

Start weitergeleitete Nachricht:
Datum: Fri, 20 May 2011 18:58:53 +0200
Von: Nicolas Kaiser <nikai@nikai.net>
An: Chris Wilson <chris@chris-wilson.co.uk>
Cc: David Airlie <airlied@linux.ie>, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org
Betreff: [PATCH] drm: i915: correct return status in intel_hdmi_mode_valid()


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] 2+ messages in thread

* Re: Fw: [PATCH] drm: i915: correct return status in intel_hdmi_mode_valid()
  2011-05-30 10:48 Fw: [PATCH] drm: i915: correct return status in intel_hdmi_mode_valid() Nicolas Kaiser
@ 2011-06-02 23:44 ` Keith Packard
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Packard @ 2011-06-02 23:44 UTC (permalink / raw)
  To: Nicolas Kaiser; +Cc: Chris Wilson, David Airlie, dri-devel, linux-kernel

[-- Attachment #1: Type: text/plain, Size: 274 bytes --]

On Mon, 30 May 2011 12:48:26 +0200, Nicolas Kaiser <nikai@nikai.net> wrote:

>  	if (mode->clock < 20000)
> -		return MODE_CLOCK_HIGH;
> +		return MODE_CLOCK_LOW;

Seems obvious to me.

Reviewed-by: Keith Packard <keithp@keithp.com>

-- 
keith.packard@intel.com

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-06-02 23:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-30 10:48 Fw: [PATCH] drm: i915: correct return status in intel_hdmi_mode_valid() Nicolas Kaiser
2011-06-02 23:44 ` Keith Packard

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