drm/radeon/kms: fix copy pasto in disable encoders patch
authorAlex Deucher <alexdeucher@gmail.com>
Sat, 8 May 2010 03:17:20 +0000 (23:17 -0400)
committerDave Airlie <airlied@redhat.com>
Tue, 11 May 2010 04:53:56 +0000 (14:53 +1000)
Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_encoders.c

index 63b8056..1ec292e 100644 (file)
@@ -1547,7 +1547,7 @@ static void radeon_atom_encoder_disable(struct drm_encoder *encoder)
        case ENCODER_OBJECT_ID_INTERNAL_DAC2:
        case ENCODER_OBJECT_ID_INTERNAL_KLDSCP_DAC2:
                atombios_dac_setup(encoder, ATOM_DISABLE);
-               if (radeon_encoder->active_device & (ATOM_DEVICE_TV_SUPPORT | ATOM_DEVICE_CV_SUPPORT))
+               if (radeon_encoder->devices & (ATOM_DEVICE_TV_SUPPORT | ATOM_DEVICE_CV_SUPPORT))
                        atombios_tv_setup(encoder, ATOM_DISABLE);
                break;
        }