diff options
Diffstat (limited to 'firmware/powermgmt.c')
-rw-r--r-- | firmware/powermgmt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/powermgmt.c b/firmware/powermgmt.c index 17acd3d503..dcf8fd14ab 100644 --- a/firmware/powermgmt.c +++ b/firmware/powermgmt.c | |||
@@ -1326,11 +1326,11 @@ void shutdown_hw(void) | |||
1326 | 1326 | ||
1327 | mp3_shutdown(); | 1327 | mp3_shutdown(); |
1328 | #ifdef HAVE_UDA1380 | 1328 | #ifdef HAVE_UDA1380 |
1329 | uda1380_close(); | 1329 | audiohw_close(); |
1330 | #elif defined(HAVE_TLV320) | 1330 | #elif defined(HAVE_TLV320) |
1331 | tlv320_close(); | 1331 | audiohw_close(); |
1332 | #elif defined(HAVE_WM8758) || defined(HAVE_WM8975) | defined(HAVE_WM8731) | 1332 | #elif defined(HAVE_WM8758) || defined(HAVE_WM8975) | defined(HAVE_WM8731) |
1333 | wmcodec_close(); | 1333 | audiohw_close(); |
1334 | #endif | 1334 | #endif |
1335 | /* If HD is still active we try to wait for spindown, otherwise the | 1335 | /* If HD is still active we try to wait for spindown, otherwise the |
1336 | shutdown_timeout in power_thread_sleep will force a power off */ | 1336 | shutdown_timeout in power_thread_sleep will force a power off */ |