diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-26 22:58:55 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-26 22:58:55 +0000 |
commit | 6ca9f232a817ed6717354ae68812f67b08cbc2a9 (patch) | |
tree | e54e6234f24d097d041f5bdfb9aa3f44522af4ec /firmware/target | |
parent | 565cd0096393dcd3a33b546d76714c64c2c786e3 (diff) | |
download | rockbox-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/target')
-rw-r--r-- | firmware/target/arm/as3525/audio-as3525.c | 1 |
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 | ||
30 | void audio_set_output_source(int source) | 30 | void 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 |