diff options
Diffstat (limited to 'firmware/target/arm/pcm-telechips.c')
-rw-r--r-- | firmware/target/arm/pcm-telechips.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/firmware/target/arm/pcm-telechips.c b/firmware/target/arm/pcm-telechips.c index b3fd9216dc..dc77b36f00 100644 --- a/firmware/target/arm/pcm-telechips.c +++ b/firmware/target/arm/pcm-telechips.c | |||
@@ -108,19 +108,18 @@ void pcm_play_dma_init(void) | |||
108 | 108 | ||
109 | /* Initialize default register values. */ | 109 | /* Initialize default register values. */ |
110 | audiohw_init(); | 110 | audiohw_init(); |
111 | 111 | ||
112 | /* Power on */ | ||
113 | audiohw_enable_output(true); | ||
114 | |||
115 | /* Unmute the master channel (DAC should be at zero point now). */ | ||
116 | audiohw_mute(false); | ||
117 | |||
118 | dma_play_data.size = 0; | 112 | dma_play_data.size = 0; |
119 | #if NUM_CORES > 1 | 113 | #if NUM_CORES > 1 |
120 | dma_play_data.core = 0; /* no core in control */ | 114 | dma_play_data.core = 0; /* no core in control */ |
121 | #endif | 115 | #endif |
122 | } | 116 | } |
123 | 117 | ||
118 | void pcm_postinit(void) | ||
119 | { | ||
120 | audiohw_postinit(); | ||
121 | } | ||
122 | |||
124 | void pcm_apply_settings(void) | 123 | void pcm_apply_settings(void) |
125 | { | 124 | { |
126 | pcm_curr_sampr = pcm_freq; | 125 | pcm_curr_sampr = pcm_freq; |