diff options
author | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-14 09:11:43 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-14 09:11:43 -0700 |
commit | e92f75e77c3c20cefc65c62c225c14400910e806 (patch) | |
tree | 870e293145b438ad1cda66e0daace345ebcd707a | |
parent | 0fed95846d2d570e866c159927d155dc7b25b6d5 (diff) | |
download | history-e92f75e77c3c20cefc65c62c225c14400910e806.tar.gz |
Fix typo nonsense test in radeon PMAC backlight code.
-rw-r--r-- | drivers/video/aty/radeon_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/aty/radeon_base.c b/drivers/video/aty/radeon_base.c index a00d86c66fc64..28bc8700b6ca2 100644 --- a/drivers/video/aty/radeon_base.c +++ b/drivers/video/aty/radeon_base.c @@ -1865,7 +1865,7 @@ static int radeon_set_backlight_enable(int on, int level, void *data) lvds_gen_cntl |= (LVDS_BL_MOD_EN | LVDS_BLON); if (on && (level > BACKLIGHT_OFF)) { lvds_gen_cntl |= LVDS_DIGON; - if (!lvds_gen_cntl & LVDS_ON) { + if (!(lvds_gen_cntl & LVDS_ON)) { lvds_gen_cntl &= ~LVDS_BLON; OUTREG(LVDS_GEN_CNTL, lvds_gen_cntl); (void)INREG(LVDS_GEN_CNTL); |