summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--firmware/powermgmt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c
index f1bcc541b1..dd2233efb1 100644
--- a/firmware/powermgmt.c
+++ b/firmware/powermgmt.c
@@ -41,6 +41,9 @@
41#ifdef CONFIG_TUNER 41#ifdef CONFIG_TUNER
42#include "fmradio.h" 42#include "fmradio.h"
43#endif 43#endif
44#ifdef IRIVER_H100
45#include "uda1380.h"
46#endif
44 47
45/* 48/*
46 * Define DEBUG_FILE to create a csv (spreadsheet) with battery information 49 * Define DEBUG_FILE to create a csv (spreadsheet) with battery information
@@ -887,6 +890,9 @@ void shutdown_hw(void)
887 sleep(HZ/10); 890 sleep(HZ/10);
888 891
889 mp3_shutdown(); 892 mp3_shutdown();
893#ifdef IRIVER_H100
894 uda1380_close();
895#endif
890#if CONFIG_KEYPAD == ONDIO_PAD 896#if CONFIG_KEYPAD == ONDIO_PAD
891 backlight_off(); 897 backlight_off();
892 sleep(1); 898 sleep(1);