summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorCástor Muñoz <cmvidal@gmail.com>2017-01-13 04:58:34 +0100
committerCástor Muñoz <cmvidal@gmail.com>2017-01-13 05:06:15 +0100
commit954d934ad2b4ba2a26ba20e6000a3ed1856dc194 (patch)
tree9d71e501564d66bba126410c19e8e374b12338d6 /firmware
parent1d7f6048f49df863d0b491faa3a39e206290848c (diff)
iPod Classic: fix small bug on PCM record
On PCM record initialization, an unknown clockgate is enabled instead of the I2S clockgate. This bug does not produce incorrect functionallity because the right clockgate is already enabled on PCM playback initialization. Change-Id: I97a3a4a6f12131e492c1431359a0a976b68014be
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/s5l8702/pcm-s5l8702.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/s5l8702/pcm-s5l8702.c b/firmware/target/arm/s5l8702/pcm-s5l8702.c
index 446be24008..e053b309b7 100644
--- a/firmware/target/arm/s5l8702/pcm-s5l8702.c
+++ b/firmware/target/arm/s5l8702/pcm-s5l8702.c
@@ -407,7 +407,7 @@ void pcm_rec_dma_init(void)
return;
PWRCON(0) &= ~(1 << 4);
- PWRCON(0) &= ~(1 << 7);
+ PWRCON(1) &= ~(1 << 7);
dmac_ch_init(&dma_rec_ch, &dma_rec_ch_cfg);