summaryrefslogtreecommitdiff
path: root/linux-core/intel_sdvo.c
diff options
context:
space:
mode:
authorJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-17 18:20:05 -0700
committerJesse Barnes <jbarnes@hobbes.virtuousgeek.org>2007-04-17 18:20:05 -0700
commitc71c44bb9288e0bf1b319ec19a2e25f4467d9583 (patch)
treecdb4fc7d4a107082cd6d039706991c4118af840d /linux-core/intel_sdvo.c
parent4f0841a31cbed315a3e891557eadc55cab0dfd23 (diff)
parentd20aaf485893ed11dd0d68daf63ccadd77b02213 (diff)
Merge branch 'modesetting-101' of git+ssh://git.freedesktop.org/git/mesa/drm into origin/modesetting-101
Diffstat (limited to 'linux-core/intel_sdvo.c')
-rw-r--r--linux-core/intel_sdvo.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/linux-core/intel_sdvo.c b/linux-core/intel_sdvo.c
index 6f592f8a..5dbfb8eb 100644
--- a/linux-core/intel_sdvo.c
+++ b/linux-core/intel_sdvo.c
@@ -70,10 +70,9 @@ static void intel_sdvo_write_sdvox(struct drm_output *output, u32 val)
int i;
if (sdvo_priv->output_device == SDVOB)
- bval = I915_READ(SDVOB);
- else
cval = I915_READ(SDVOC);
-
+ else
+ bval = I915_READ(SDVOB);
/*
* Write the registers twice for luck. Sometimes,
* writing them only once doesn't appear to 'stick'.