summaryrefslogtreecommitdiff
path: root/firmware/target/arm/imx31/gigabeat-s/wmcodec-imx31.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2009-03-22 02:13:27 +0000
committerMichael Sevakis <jethead71@rockbox.org>2009-03-22 02:13:27 +0000
commitba71cc540cea33806ff6c2c2e8fe5fe5defa2463 (patch)
treebb0439bc8769f1a27d923d89c6cb6565eba1d2ce /firmware/target/arm/imx31/gigabeat-s/wmcodec-imx31.c
parentb7f7655dc2ae979fee8b01ed894224e5c2f7c719 (diff)
imx31: Rename clkctl-imx31.* to ccm-imx31.* and move up from ...imx31/gigabeat-s to .../imx31. A bunch more should probably go up a level too.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20443 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/imx31/gigabeat-s/wmcodec-imx31.c')
-rw-r--r--firmware/target/arm/imx31/gigabeat-s/wmcodec-imx31.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/firmware/target/arm/imx31/gigabeat-s/wmcodec-imx31.c b/firmware/target/arm/imx31/gigabeat-s/wmcodec-imx31.c
index cf9331144a..2572b88fee 100644
--- a/firmware/target/arm/imx31/gigabeat-s/wmcodec-imx31.c
+++ b/firmware/target/arm/imx31/gigabeat-s/wmcodec-imx31.c
@@ -53,10 +53,10 @@ void audiohw_init(void)
* INT_BIT_CLK (MCLK) / 1.5 = 11289600Hz = 256*fs = SYSCLK
*/
imx31_regmod32(&CCM_PDR1,
- (1-1) << CCM_PDR1_SSI1_PRE_PODF_POS |
- (5-1) << CCM_PDR1_SSI1_PODF_POS |
- (8-1) << CCM_PDR1_SSI2_PRE_PODF_POS,
- (64-1) << CCM_PDR1_SSI2_PODF_POS |
+ ((1-1) << CCM_PDR1_SSI1_PRE_PODF_POS) |
+ ((5-1) << CCM_PDR1_SSI1_PODF_POS) |
+ ((8-1) << CCM_PDR1_SSI2_PRE_PODF_POS),
+ ((64-1) << CCM_PDR1_SSI2_PODF_POS) |
CCM_PDR1_SSI1_PODF | CCM_PDR1_SSI2_PODF |
CCM_PDR1_SSI1_PRE_PODF | CCM_PDR1_SSI2_PRE_PODF);