diff options
Diffstat (limited to 'firmware/pcm_playback.c')
-rw-r--r-- | firmware/pcm_playback.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/pcm_playback.c b/firmware/pcm_playback.c index 99a495ca10..46a458fa8a 100644 --- a/firmware/pcm_playback.c +++ b/firmware/pcm_playback.c | |||
@@ -406,13 +406,13 @@ void pcm_init(void) | |||
406 | pcm_callback_for_more = NULL; | 406 | pcm_callback_for_more = NULL; |
407 | 407 | ||
408 | /* Initialize default register values. */ | 408 | /* Initialize default register values. */ |
409 | wmcodec_init(); | 409 | audiohw_init(); |
410 | 410 | ||
411 | /* Power on */ | 411 | /* Power on */ |
412 | wmcodec_enable_output(true); | 412 | audiohw_enable_output(true); |
413 | 413 | ||
414 | /* Unmute the master channel (DAC should be at zero point now). */ | 414 | /* Unmute the master channel (DAC should be at zero point now). */ |
415 | wmcodec_mute(false); | 415 | audiohw_mute(false); |
416 | 416 | ||
417 | /* Call pcm_play_dma_stop to initialize everything. */ | 417 | /* Call pcm_play_dma_stop to initialize everything. */ |
418 | pcm_play_dma_stop(); | 418 | pcm_play_dma_stop(); |
@@ -603,7 +603,7 @@ void pcm_mute(bool mute) | |||
603 | { | 603 | { |
604 | #if defined(HAVE_WM8975) || defined(HAVE_WM8758) \ | 604 | #if defined(HAVE_WM8975) || defined(HAVE_WM8758) \ |
605 | || defined(HAVE_WM8731) || defined(HAVE_WM8721) | 605 | || defined(HAVE_WM8731) || defined(HAVE_WM8721) |
606 | wmcodec_mute(mute); | 606 | audiohw_mute(mute); |
607 | #endif | 607 | #endif |
608 | if (mute) | 608 | if (mute) |
609 | sleep(HZ/16); | 609 | sleep(HZ/16); |