summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-24 17:21:20 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-24 17:21:20 +0000
commit9bb6b8d689b27c8759f2b96f93cc6e396774c882 (patch)
tree99e4bb772f29703d5a14d29e75554d4d8345f57a /firmware
parent19afbf4892f6991be149b522f708eb13e9790d89 (diff)
downloadrockbox-9bb6b8d689b27c8759f2b96f93cc6e396774c882.tar.gz
rockbox-9bb6b8d689b27c8759f2b96f93cc6e396774c882.tar.bz2
rockbox-9bb6b8d689b27c8759f2b96f93cc6e396774c882.zip
as3525: be sure all interrupts are disabled when recording
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26257 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/pcm-as3525.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/pcm-as3525.c b/firmware/target/arm/as3525/pcm-as3525.c
index 22f073e548..39413ea2b1 100644
--- a/firmware/target/arm/as3525/pcm-as3525.c
+++ b/firmware/target/arm/as3525/pcm-as3525.c
@@ -337,6 +337,7 @@ void pcm_rec_dma_init(void)
/* i2c clk src = I2SOUTIF, sdata src = AFE,
* data valid at positive edge of SCLK */
I2SIN_CONTROL = (1<<2);
+ I2SIN_MASK = 0; /* disables all interrupts */
}