summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/philips/sa9200/power-sa9200.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/philips/sa9200/power-sa9200.c b/firmware/target/arm/philips/sa9200/power-sa9200.c
index 236dd72a72..1570954fcc 100644
--- a/firmware/target/arm/philips/sa9200/power-sa9200.c
+++ b/firmware/target/arm/philips/sa9200/power-sa9200.c
@@ -76,8 +76,10 @@ void power_off(void)
/* Backlight off */
ascodec_write(AS3514_DCDC15, 0);
+#ifdef HAVE_LCD_SLEEP
/* LCD off/sleep (otherwise the image slowly fades out) */
lcd_sleep();
+#endif
/* Send shutdown command to PMU */
byte = ascodec_read(AS3514_SYSTEM);