backout alanh's broken commit
authorDave Airlie <airlied@airlied2.(none)>
Wed, 18 Apr 2007 00:39:58 +0000 (10:39 +1000)
committerDave Airlie <airlied@airlied2.(none)>
Wed, 18 Apr 2007 00:39:58 +0000 (10:39 +1000)
linux-core/intel_sdvo.c

index 6f592f8..5dbfb8e 100644 (file)
@@ -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'.