diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-03-18 11:38:47 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-03-18 11:38:47 +0000 |
commit | 07218e54019a862deeff7e70a9dcee2eefa30348 (patch) | |
tree | b54bd9d3cd141ccf9988e78cdafbf695f94e8e1b | |
parent | e7b993f1f632f4d4af46ca4c1d3b9159f109ce2b (diff) |
Properly shut down the UDA1380
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6209 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | firmware/powermgmt.c | 6 |
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 @@ #ifdef CONFIG_TUNER #include "fmradio.h" #endif +#ifdef IRIVER_H100 +#include "uda1380.h" +#endif /* * Define DEBUG_FILE to create a csv (spreadsheet) with battery information @@ -887,6 +890,9 @@ void shutdown_hw(void) sleep(HZ/10); mp3_shutdown(); +#ifdef IRIVER_H100 + uda1380_close(); +#endif #if CONFIG_KEYPAD == ONDIO_PAD backlight_off(); sleep(1); |