drm/radeon/kms: fix the regression of DVI connector check
authorTakashi Iwai <tiwai@suse.de>
Wed, 18 Apr 2012 13:21:07 +0000 (15:21 +0200)
committerDave Airlie <airlied@redhat.com>
Thu, 19 Apr 2012 13:01:10 +0000 (14:01 +0100)
commite36325071832f1ba96ac54fb8ba1459f08b05dd8
treea08edb9a701651f007c750ab8b1c55ed5d7a6ff7
parentb10c6d4b50cbbdccce2187c1ccc516a9c7335835
drm/radeon/kms: fix the regression of DVI connector check

The check of the encoder type in the commit [e00e8b5e: drm/radeon/kms:
fix analog load detection on DVI-I connectors] is obviously wrong, and
it's the culprit of the regression on my workstation with DVI-analog
connection resulting in the blank output.

Fixed the typo now.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_connectors.c