drm/i915: Fix typo that broke SVID1 in intel_sdvo_multifunc_encoder()
authorRoel Kluin <roel.kluin@gmail.com>
Sun, 9 Aug 2009 11:50:53 +0000 (13:50 +0200)
committerEric Anholt <eric@anholt.net>
Mon, 24 Aug 2009 23:41:23 +0000 (16:41 -0700)
Bit SDVO_OUTPUT_SVID0 was tested twice

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_sdvo.c

index 5371d93..95ca0ac 100644 (file)
@@ -1458,7 +1458,7 @@ intel_sdvo_multifunc_encoder(struct intel_output *intel_output)
                (SDVO_OUTPUT_RGB0 | SDVO_OUTPUT_RGB1))
                caps++;
        if (sdvo_priv->caps.output_flags &
-               (SDVO_OUTPUT_SVID0 | SDVO_OUTPUT_SVID0))
+               (SDVO_OUTPUT_SVID0 | SDVO_OUTPUT_SVID1))
                caps++;
        if (sdvo_priv->caps.output_flags &
                (SDVO_OUTPUT_CVBS0 | SDVO_OUTPUT_CVBS1))