From 7b42b57d748f77ff6ef6f8ade7cbc983a98d7204 Mon Sep 17 00:00:00 2001 From: Alex Deucher Date: Wed, 21 Jan 2009 16:28:00 -0500 Subject: few more logic pasto's bits I missed --- src/legacy_crtc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/legacy_crtc.c b/src/legacy_crtc.c index e71170fc..cba1b5f3 100644 --- a/src/legacy_crtc.c +++ b/src/legacy_crtc.c @@ -1743,10 +1743,10 @@ legacy_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode, RADEONOutputPrivatePtr radeon_output = output->driver_private; if (output->crtc == crtc) { - if (radeon_output->active_device && (ATOM_DEVICE_LCD_SUPPORT | - ATOM_DEVICE_DFP_SUPPORT)) + if (radeon_output->active_device & (ATOM_DEVICE_LCD_SUPPORT | + ATOM_DEVICE_DFP_SUPPORT)) pll_flags |= RADEON_PLL_NO_ODD_POST_DIV; - if (radeon_output->active_device && (ATOM_DEVICE_LCD_SUPPORT)) + if (radeon_output->active_device & (ATOM_DEVICE_LCD_SUPPORT)) pll_flags |= (RADEON_PLL_USE_BIOS_DIVS | RADEON_PLL_USE_REF_DIV); } } @@ -1791,7 +1791,7 @@ legacy_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode, RADEONOutputPrivatePtr radeon_output = output->driver_private; if (output->crtc == crtc) { - if (radeon_output->active_device && (ATOM_DEVICE_TV_SUPPORT)) { + if (radeon_output->active_device & (ATOM_DEVICE_TV_SUPPORT)) { switch (radeon_crtc->crtc_id) { case 0: RADEONAdjustCrtcRegistersForTV(pScrn, info->ModeReg, adjusted_mode, output); -- cgit v1.2.3