summaryrefslogtreecommitdiff
path: root/firmware/target/arm/pcm-telechips.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/pcm-telechips.c')
-rw-r--r--firmware/target/arm/pcm-telechips.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/firmware/target/arm/pcm-telechips.c b/firmware/target/arm/pcm-telechips.c
index f0ef667d4f..9d14fa5ed5 100644
--- a/firmware/target/arm/pcm-telechips.c
+++ b/firmware/target/arm/pcm-telechips.c
@@ -141,8 +141,8 @@ static void play_stop_pcm(void)
141 141
142void pcm_play_dma_start(const void *addr, size_t size) 142void pcm_play_dma_start(const void *addr, size_t size)
143{ 143{
144 dma_play_data.p = (void *)(((uintptr_t)addr + 2) & ~3); 144 dma_play_data.p = addr;
145 dma_play_data.size = (size & ~3); 145 dma_play_data.size = size;
146 146
147#if NUM_CORES > 1 147#if NUM_CORES > 1
148 /* This will become more important later - and different ! */ 148 /* This will become more important later - and different ! */
@@ -229,9 +229,8 @@ void pcm_rec_unlock(void)
229{ 229{
230} 230}
231 231
232const void * pcm_rec_dma_get_peak_buffer(int *count) 232const void * pcm_rec_dma_get_peak_buffer(void)
233{ 233{
234 *count = 0;
235 return NULL; 234 return NULL;
236} 235}
237 236