diff options
Diffstat (limited to 'firmware/target/mips/ingenic_jz47xx/pcm-jz4760.c')
-rw-r--r-- | firmware/target/mips/ingenic_jz47xx/pcm-jz4760.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/mips/ingenic_jz47xx/pcm-jz4760.c b/firmware/target/mips/ingenic_jz47xx/pcm-jz4760.c index 59b086e4f8..098c28ecf5 100644 --- a/firmware/target/mips/ingenic_jz47xx/pcm-jz4760.c +++ b/firmware/target/mips/ingenic_jz47xx/pcm-jz4760.c | |||
@@ -128,6 +128,8 @@ void DMA_CALLBACK(DMA_AIC_TX_CHANNEL)(void) | |||
128 | 128 | ||
129 | void pcm_play_dma_start(const void *addr, size_t size) | 129 | void pcm_play_dma_start(const void *addr, size_t size) |
130 | { | 130 | { |
131 | pcm_play_dma_stop(); | ||
132 | |||
131 | __dmac_channel_enable_clk(DMA_AIC_TX_CHANNEL); | 133 | __dmac_channel_enable_clk(DMA_AIC_TX_CHANNEL); |
132 | 134 | ||
133 | set_dma(addr, size); | 135 | set_dma(addr, size); |