drm/radeon: fix XFX quirk
commit0fe9c3d32bc0e7a46d78dca13a6ed3f91ec92f47
authorAlex Deucher <alexander.deucher@amd.com>
Wed, 23 May 2012 15:48:59 +0000 (23 11:48 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 9 Jun 2012 15:32:59 +0000 (10 00:32 +0900)
tree1c8540c127ace2d2432ac605242fff2e493a890c
parent6ab5902511d32b50b4b973320979ba99693aa5be
drm/radeon: fix XFX quirk

commit 1ebf169ad4dc68f18cc0dab35163b0f324fc6c41 upstream.

Only override the ddc bus if the connector doesn't have
a valid one.  The existing code overrode the ddc bus for
all connectors even if it had ddc bus.

Fixes ddc on another XFX card with the same pci ids that
was broken by the quirk overwriting the correct ddc bus.

Reported-by: Mehdi Aqadjani Memar <m.aqadjanimemar@student.ru.nl>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/radeon/radeon_atombios.c