From 954d934ad2b4ba2a26ba20e6000a3ed1856dc194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A1stor=20Mu=C3=B1oz?= Date: Fri, 13 Jan 2017 04:58:34 +0100 Subject: 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 --- firmware/target/arm/s5l8702/pcm-s5l8702.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/target') 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); -- cgit v1.2.3