summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31/gigabeat-s/backlight-imx31.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s/backlight-imx31.c')
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/backlight-imx31.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/backlight-imx31.c b/firmware/target/arm/imx31/gigabeat-s/backlight-imx31.c
index 8b4459c3a9..8f75b72f58 100644
--- a/firmware/target/arm/imx31/gigabeat-s/backlight-imx31.c
+++ b/firmware/target/arm/imx31/gigabeat-s/backlight-imx31.c
@@ -23,6 +23,7 @@
23#include "backlight.h" 23#include "backlight.h"
24#include "mc13783.h" 24#include "mc13783.h"
25#include "backlight-target.h" 25#include "backlight-target.h"
26#include "lcd.h"
26 27
27#ifdef HAVE_BACKLIGHT_BRIGHTNESS 28#ifdef HAVE_BACKLIGHT_BRIGHTNESS
28/* Table that uses combinations of current level and pwm fraction to get 29/* Table that uses combinations of current level and pwm fraction to get
@@ -129,6 +130,9 @@ void _backlight_on(void)
129#ifdef HAVE_LCD_SLEEP 130#ifdef HAVE_LCD_SLEEP
130 backlight_lcd_sleep_countdown(false); /* stop counter */ 131 backlight_lcd_sleep_countdown(false); /* stop counter */
131#endif 132#endif
133#ifdef HAVE_LCD_ENABLE
134 lcd_enable(true);
135#endif
132 136
133 /* Set/clear LEDRAMPUP bit, clear LEDRAMPDOWN bit, 137 /* Set/clear LEDRAMPUP bit, clear LEDRAMPDOWN bit,
134 * Ensure LED supply is on. */ 138 * Ensure LED supply is on. */