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
This commit is contained in:
Cástor Muñoz 2017-01-13 04:58:34 +01:00
parent 1d7f6048f4
commit 954d934ad2

View file

@ -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);