summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-26 22:58:55 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-26 22:58:55 +0000
commit6ca9f232a817ed6717354ae68812f67b08cbc2a9 (patch)
treee54e6234f24d097d041f5bdfb9aa3f44522af4ec /firmware
parent565cd0096393dcd3a33b546d76714c64c2c786e3 (diff)
downloadrockbox-6ca9f232a817ed6717354ae68812f67b08cbc2a9.tar.gz
rockbox-6ca9f232a817ed6717354ae68812f67b08cbc2a9.zip
as3525: fix r26308
I2SOUT peri needs to be enabled to set the loopback setting git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26319 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/audio-as3525.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/audio-as3525.c b/firmware/target/arm/as3525/audio-as3525.c
index 350bfb5ee6..8dd85929c0 100644
--- a/firmware/target/arm/as3525/audio-as3525.c
+++ b/firmware/target/arm/as3525/audio-as3525.c
@@ -29,6 +29,7 @@ int audio_channels = 2;
29 29
30void audio_set_output_source(int source) 30void audio_set_output_source(int source)
31{ 31{
32 CGU_PERI |= CGU_I2SOUT_APB_CLOCK_ENABLE;
32 if (source == AUDIO_SRC_PLAYBACK) 33 if (source == AUDIO_SRC_PLAYBACK)
33 I2SOUT_CONTROL &= ~(1<<5); 34 I2SOUT_CONTROL &= ~(1<<5);
34 else 35 else