diff options
author | Alex Deucher <alexdeucher@gmail.com> | 2008-08-05 17:14:48 -0400 |
---|---|---|
committer | Alex Deucher <alexdeucher@gmail.com> | 2008-08-05 17:14:48 -0400 |
commit | 001c535687d8588873037ee5363d0a709f44b418 (patch) | |
tree | d84e4f37ad424d74bd159f98f769ce31a1ae9ac5 /src/radeon_bios.c | |
parent | eb65ddf70d182b6457e1ef5ebb820456039e8f6d (diff) |
IGP: fix typo in IGP quirk handling
Diffstat (limited to 'src/radeon_bios.c')
-rw-r--r-- | src/radeon_bios.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/radeon_bios.c b/src/radeon_bios.c index a4181aa2..b9adf286 100644 --- a/src/radeon_bios.c +++ b/src/radeon_bios.c @@ -453,10 +453,9 @@ static void RADEONApplyLegacyQuirks(ScrnInfoPtr pScrn, int index) info->ChipFamily == CHIP_FAMILY_RS480) && info->BiosConnector[index].ddc_i2c.mask_clk_reg == RADEON_GPIO_CRT2_DDC) { info->BiosConnector[index].ddc_i2c = legacy_setup_i2c_bus(RADEON_GPIO_MONID); - } - if ((info->ChipFamily == CHIP_FAMILY_RS400 || - info->ChipFamily == CHIP_FAMILY_RS480) && - info->BiosConnector[index].ddc_i2c.mask_clk_reg == RADEON_GPIO_MONID) { + } else if ((info->ChipFamily == CHIP_FAMILY_RS400 || + info->ChipFamily == CHIP_FAMILY_RS480) && + info->BiosConnector[index].ddc_i2c.mask_clk_reg == RADEON_GPIO_MONID) { info->BiosConnector[index].ddc_i2c.valid = TRUE; info->BiosConnector[index].ddc_i2c.mask_clk_mask = (0x20 << 8); info->BiosConnector[index].ddc_i2c.mask_data_mask = 0x80; |