drm/radeon/kms: fix legacy quirk handling

Need to check the return type for the quirk function
to decide whether we add the connectors and encoders.

Signed-off-by: Alex Deucher <alexdeucher@gmail.com>
Signed-off-by: Dave Airlie <airlied@linux.ie>
This commit is contained in:
Alex Deucher
2009-10-15 23:08:05 -04:00
committed by Dave Airlie
parent f059d2ad69
commit 2d152c6ba8

View File

@@ -1626,8 +1626,9 @@ bool radeon_get_legacy_connector_info_from_bios(struct drm_device *dev)
break; break;
} }
radeon_apply_legacy_quirks(dev, i, &connector, if (!radeon_apply_legacy_quirks(dev, i, &connector,
&ddc_i2c); &ddc_i2c))
continue;
switch (connector) { switch (connector) {
case CONNECTOR_PROPRIETARY_LEGACY: case CONNECTOR_PROPRIETARY_LEGACY: