summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/as3525/pcm-as3525.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/pcm-as3525.c')
-rw-r--r--firmware/target/arm/as3525/pcm-as3525.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/firmware/target/arm/as3525/pcm-as3525.c b/firmware/target/arm/as3525/pcm-as3525.c
index a0532c8912..655c89021a 100644
--- a/firmware/target/arm/as3525/pcm-as3525.c
+++ b/firmware/target/arm/as3525/pcm-as3525.c
@@ -291,7 +291,6 @@ void pcm_rec_dma_stop(void)
dma_release();
rec_dma_size = 0;
- I2SOUT_CONTROL &= ~(1<<5); /* source = i2soutif fifo */
I2SIN_CONTROL &= ~(1<<11); /* disable dma */
CGU_AUDIO &= ~((1<<23)|(1<<11));
@@ -313,8 +312,6 @@ void pcm_rec_dma_start(void *addr, size_t size)
CGU_PERI |= CGU_I2SIN_APB_CLOCK_ENABLE|CGU_I2SOUT_APB_CLOCK_ENABLE;
CGU_AUDIO |= ((1<<23)|(1<<11));
- I2SOUT_CONTROL |= 1<<5; /* source = loopback from i2sin fifo */
-
I2SIN_CONTROL |= (1<<11)|(1<<5); /* enable dma, 14bits samples */
rec_dma_start();