diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2007-10-02 20:23:42 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2007-10-02 20:23:42 +0000 |
commit | 4748dc305e46df2f85e1758bb3f2ca2790db2358 (patch) | |
tree | b27312f750f8fe08045fb6d200b8a437dab00933 /firmware/target/arm | |
parent | a4f0de0f9d1e3cb19cf18e89d667affa66001c82 (diff) |
Fix a little bug I introduced earier than can cause i2s to fail to start with voice running on pp5020.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14961 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/pcm-pp.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/firmware/target/arm/pcm-pp.c b/firmware/target/arm/pcm-pp.c index 42b9aeb6cb..4d716fcbf3 100644 --- a/firmware/target/arm/pcm-pp.c +++ b/firmware/target/arm/pcm-pp.c @@ -220,9 +220,7 @@ void pcm_play_dma_start(const void *addr, size_t size) set_fiq_handler(fiq); enable_fiq(); -#if CONFIG_CPU == PP5020 - /* Do nothing */ -#elif defined(CPU_PP502x) +#if defined(CPU_PP502x) /* Enable playback FIFO */ IISCONFIG |= (1 << 29); #elif CONFIG_CPU == PP5002 @@ -301,9 +299,7 @@ void pcm_play_pause_unpause(void) set_fiq_handler(fiq); enable_fiq(); -#if CONFIG_CPU == PP5020 - /* Do nothing */ -#elif defined(CPU_PP502x) +#if defined(CPU_PP502x) /* Enable playback FIFO */ IISCONFIG |= (1 << 29); #elif CONFIG_CPU == PP5002 |