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
This commit is contained in:
Rafaël Carré 2010-05-26 22:58:55 +00:00
parent 565cd00963
commit 6ca9f232a8

View file

@ -29,6 +29,7 @@ int audio_channels = 2;
void audio_set_output_source(int source)
{
CGU_PERI |= CGU_I2SOUT_APB_CLOCK_ENABLE;
if (source == AUDIO_SRC_PLAYBACK)
I2SOUT_CONTROL &= ~(1<<5);
else