summaryrefslogtreecommitdiffstats
path: root/src/target/firmware/calypso/backlight.c
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2011-11-09 19:59:46 +0100
committerSylvain Munaut <tnt@246tNt.com>2011-11-09 20:03:57 +0100
commit4789b4a6627b452041b57f81ea91878de666bcc2 (patch)
tree0f1dcdcd4b71a389edb4183db236d7cc38e416c4 /src/target/firmware/calypso/backlight.c
parenta73c98a3abd2dc20145325436cefa2705c0db8f1 (diff)
fw/calypso: Fix backlight bl_mode_pwl method (typo)
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'src/target/firmware/calypso/backlight.c')
-rw-r--r--src/target/firmware/calypso/backlight.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/firmware/calypso/backlight.c b/src/target/firmware/calypso/backlight.c
index a18dcb91..cf29984a 100644
--- a/src/target/firmware/calypso/backlight.c
+++ b/src/target/firmware/calypso/backlight.c
@@ -50,7 +50,7 @@ void bl_mode_pwl(int on)
writew(reg, ASIC_CONF_REG);
} else {
/* Switch pin from PWL to LT */
- reg |= ~ASCONF_PWL_ENA;
+ reg &= ~ASCONF_PWL_ENA;
writew(reg, ASIC_CONF_REG);
/* Disable pwl */
writeb(0x00, PWL_REG(PWL_CTRL));