[PATCH] Remove unnessary mask
Songmao Tian
tiansm at lemote.com
Sun Oct 14 22:21:15 PDT 2007
---
src/radeon_tv.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/radeon_tv.c b/src/radeon_tv.c
index 5b10d28..7d688c9 100644
--- a/src/radeon_tv.c
+++ b/src/radeon_tv.c
@@ -521,9 +521,9 @@ void RADEONInitTVRegisters(xf86OutputPtr output,
RADEONSavePtr save,
(((PAL_TV_PLL_N >> 8) & RADEON_TV_N0HI_MASK) <<
RADEON_TV_N0HI_SHIFT) |
((PAL_TV_PLL_P & RADEON_TV_P_MASK) << RADEON_TV_P_SHIFT);
- save->tv_pll_cntl1 = (((4 & RADEON_TVPCP_MASK)<< RADEON_TVPCP_SHIFT) |
- ((4 & RADEON_TVPVG_MASK) << RADEON_TVPVG_SHIFT) |
- ((1 & RADEON_TVPDC_MASK)<< RADEON_TVPDC_SHIFT) |
+ save->tv_pll_cntl1 = ((4 << RADEON_TVPCP_SHIFT) |
+ (4 << RADEON_TVPVG_SHIFT) |
+ (1 << RADEON_TVPDC_SHIFT) |
RADEON_TVCLK_SRC_SEL_TVPLL |
RADEON_TVPLL_TEST_DIS);
--
1.5.2.2
More information about the xorg-driver-ati
mailing list