1
0
Fork 0
forked from len0rd/rockbox

CLOCKING register should be set on hardware init.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19410 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2008-12-12 23:03:30 +00:00
parent 6ed3ca7405
commit bdf3004f96

View file

@ -125,6 +125,9 @@ void audiohw_preinit(void)
/* IWL=00(16 bit) FORMAT=10(I2S format) */ /* IWL=00(16 bit) FORMAT=10(I2S format) */
wmcodec_write(AINTFCE, AINTFCE_MS | AINTFCE_WL_16 | wmcodec_write(AINTFCE, AINTFCE_MS | AINTFCE_WL_16 |
AINTFCE_FORMAT_I2S); AINTFCE_FORMAT_I2S);
/* Set default samplerate */
audiohw_set_frequency(HW_FREQ_DEFAULT);
} }
/* Enable DACs and audio output after a short delay */ /* Enable DACs and audio output after a short delay */