summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Jackson <ajax@nwnk.net>2004-09-22 04:38:03 +0000
committerAdam Jackson <ajax@nwnk.net>2004-09-22 04:38:03 +0000
commit9a9ba82172428b09312fdd6e11da04b21c8529fc (patch)
tree3a2d894009fdca9341f8dc7b3e1cdae92db303d5 /src
parent700b0dc5148d0170c9223765d208ccef447242df (diff)
Bug #1252, #1253, #1255, #1256: Various typo fixes from Dave Jones.
Diffstat (limited to 'src')
-rw-r--r--src/r128_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/r128_driver.c b/src/r128_driver.c
index 8167d00c..fb9dd6dd 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);