drm/radeon/kms/dp: remove extraneous training complete call
authorAlex Deucher <alexdeucher@gmail.com>
Mon, 29 Mar 2010 18:06:10 +0000 (14:06 -0400)
committerDave Airlie <airlied@redhat.com>
Wed, 31 Mar 2010 03:13:11 +0000 (13:13 +1000)
Looks like a copy/paste typo from when evergreen support
was added.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/atombios_dp.c

index 8a133bda00a25b092e764f1eec2bca80c57cb569..ca776b29513a37d1368bb001d672156d18e764a3 100644 (file)
@@ -750,9 +750,6 @@ void dp_link_train(struct drm_encoder *encoder,
        else
                radeon_dp_encoder_service(rdev, ATOM_DP_ACTION_TRAINING_COMPLETE,
                                          dig_connector->dp_clock, enc_id, 0);
-
-       radeon_dp_encoder_service(rdev, ATOM_DP_ACTION_TRAINING_COMPLETE,
-                                 dig_connector->dp_clock, enc_id, 0);
 }
 
 int radeon_dp_i2c_aux_ch(struct i2c_adapter *adapter, int mode,