diff options
author | Adam Jackson <ajax@nwnk.net> | 2004-09-22 04:38:03 +0000 |
---|---|---|
committer | Adam Jackson <ajax@nwnk.net> | 2004-09-22 04:38:03 +0000 |
commit | 9a9ba82172428b09312fdd6e11da04b21c8529fc (patch) | |
tree | 3a2d894009fdca9341f8dc7b3e1cdae92db303d5 /src/r128_driver.c | |
parent | 700b0dc5148d0170c9223765d208ccef447242df (diff) |
Bug #1252, #1253, #1255, #1256: Various typo fixes from Dave Jones.
Diffstat (limited to 'src/r128_driver.c')
-rw-r--r-- | src/r128_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/r128_driver.c b/src/r128_driver.c index 8167d00..fb9dd6d 100644 --- a/src/r128_driver.c +++ b/src/r128_driver.c @@ -3651,7 +3651,7 @@ static int r128_set_backlight_enable(ScrnInfoPtr pScrn, int on) lvds_gen_cntl |= (/*R128_LVDS_BL_MOD_EN |*/ R128_LVDS_BLON); if (on) { lvds_gen_cntl |= R128_LVDS_DIGON; - if (!lvds_gen_cntl & R128_LVDS_ON) { + if (!(lvds_gen_cntl & R128_LVDS_ON)) { lvds_gen_cntl &= ~R128_LVDS_BLON; OUTREG(R128_LVDS_GEN_CNTL, lvds_gen_cntl); (void)INREG(R128_LVDS_GEN_CNTL); |