diff options
author | Solomon Peachy <pizza@shaftnet.org> | 2020-07-17 00:01:32 -0400 |
---|---|---|
committer | Solomon Peachy <pizza@shaftnet.org> | 2020-07-24 21:20:13 +0000 |
commit | 8cb555460ff79e636a7907fb2589e16db98c8600 (patch) | |
tree | 930a3878c7641c9ce045b24f0ade1309e36d5806 /firmware/powermgmt.c | |
parent | 0c4f89370d05056faa789aa9cabcccc4e509fb9f (diff) | |
download | rockbox-8cb555460ff79e636a7907fb2589e16db98c8600.tar.gz rockbox-8cb555460ff79e636a7907fb2589e16db98c8600.zip |
[3/4] Completely remove HWCODEC support
'swcodec' is now always set (and recording_swcodec for recording-capable
units) in feature.txt so the manual and language strings don't need to
all be fixed up.
Change-Id: Ib2c9d5d157af8d33653e2d4b4a12881b9aa6ddb0
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r-- | firmware/powermgmt.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 750f8d5ef4..ed979f83ce 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c | |||
@@ -31,7 +31,6 @@ | |||
31 | #include "storage.h" | 31 | #include "storage.h" |
32 | #include "power.h" | 32 | #include "power.h" |
33 | #include "audio.h" | 33 | #include "audio.h" |
34 | #include "mp3_playback.h" | ||
35 | #include "usb.h" | 34 | #include "usb.h" |
36 | #include "powermgmt.h" | 35 | #include "powermgmt.h" |
37 | #include "backlight.h" | 36 | #include "backlight.h" |
@@ -770,11 +769,7 @@ void shutdown_hw(void) | |||
770 | storage_spindown(1); | 769 | storage_spindown(1); |
771 | } | 770 | } |
772 | 771 | ||
773 | #if CONFIG_CODEC == SWCODEC | ||
774 | audiohw_close(); | 772 | audiohw_close(); |
775 | #else | ||
776 | mp3_shutdown(); | ||
777 | #endif | ||
778 | 773 | ||
779 | /* If HD is still active we try to wait for spindown, otherwise the | 774 | /* If HD is still active we try to wait for spindown, otherwise the |
780 | shutdown_timeout in power_thread_step will force a power off */ | 775 | shutdown_timeout in power_thread_step will force a power off */ |