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)
committerLuis Henriques <luis.henriques@canonical.com>
Mon, 30 Apr 2012 18:15:13 +0000 (19:15 +0100)
commitaec48b4ad79d028357b9a36e8828ff39b9a1b61e
tree087f7ba1b425df2ab22e681b17977a9988f07c31
parenteee54a8a66997eb3706f629ad0094e2346106280
drm/radeon/kms: fix the regression of DVI connector check

BugLink: http://bugs.launchpad.net/bugs/987337

commit e36325071832f1ba96ac54fb8ba1459f08b05dd8 upstream.

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>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
drivers/gpu/drm/radeon/radeon_connectors.c