summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31/gigabeat-s/audio-gigabeat-s.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2009-03-09 04:25:25 +0000
committerMichael Sevakis <jethead71@rockbox.org>2009-03-09 04:25:25 +0000
commitd1adf35e626cd9717cab2de17b029d3c8790ce6e (patch)
tree26c8e3781bb5d906b4a737dea0439dae460047ab /firmware/target/arm/imx31/gigabeat-s/audio-gigabeat-s.c
parentde910d862c166c9c73ccc01b6a6dc0884c7037ae (diff)
Gigabeat S: Switch SSI1 and 2 around so that playback can use the shared peripheral DMA with SSI2 which doesn't require use of the peripheral DMA unit-- SSI2 is mapped to the SDMA core address space. Fix some break keywords in get_script_pc(). Use the patched script for mcu_2_app (BSP appears to have neglected to update that). Use _SHP instead of _SP for shared peripheral constants (consistency).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20254 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s/audio-gigabeat-s.c')
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/audio-gigabeat-s.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/audio-gigabeat-s.c b/firmware/target/arm/imx31/gigabeat-s/audio-gigabeat-s.c
index 87b59de599..f5e17a4039 100644
--- a/firmware/target/arm/imx31/gigabeat-s/audio-gigabeat-s.c
+++ b/firmware/target/arm/imx31/gigabeat-s/audio-gigabeat-s.c
@@ -30,8 +30,8 @@ void audio_set_output_source(int source)
{
default:
case AUDIO_SRC_PLAYBACK:
- /* Receive data from PORT1 (SSI1) */
- AUDMUX_PDCR4 = AUDMUX_PDCR_RXDSEL_PORT1;
+ /* Receive data from PORT2 (SSI2) */
+ AUDMUX_PDCR4 = AUDMUX_PDCR_RXDSEL_PORT2;
/* wmc_clear(WMC_COMPANDING_CTRL, WMC_LOOPBACK); */
break;