summaryrefslogtreecommitdiff
path: root/firmware/backlight.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/backlight.c')
-rw-r--r--firmware/backlight.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/backlight.c b/firmware/backlight.c
index 55e3f44cc5..675237157b 100644
--- a/firmware/backlight.c
+++ b/firmware/backlight.c
@@ -411,6 +411,7 @@ void backlight_init(void)
411#if CONFIG_BACKLIGHT == BL_IRIVER 411#if CONFIG_BACKLIGHT == BL_IRIVER
412 or_l(0x00020000, &GPIO1_ENABLE); 412 or_l(0x00020000, &GPIO1_ENABLE);
413 or_l(0x00020000, &GPIO1_FUNCTION); 413 or_l(0x00020000, &GPIO1_FUNCTION);
414 and_l(~0x00020000, &GPIO1_OUT); /* Start with the backlight ON */
414#elif CONFIG_BACKLIGHT == BL_PA14_LO || CONFIG_BACKLIGHT == BL_PA14_HI 415#elif CONFIG_BACKLIGHT == BL_PA14_LO || CONFIG_BACKLIGHT == BL_PA14_HI
415 PACR1 &= ~0x3000; /* Set PA14 (backlight control) to GPIO */ 416 PACR1 &= ~0x3000; /* Set PA14 (backlight control) to GPIO */
416 or_b(0x40, &PAIORH); /* ..and output */ 417 or_b(0x40, &PAIORH); /* ..and output */