Prescale clock to use master clock frequency more higth.
[bertos.git] / boards / sam3x-ek / hw / hw_wm8731.h
index e6e1628a67909667103f0dd0280f01f9a4bf1d55..f112c051f75907645b38fadaf08e5bfa3b8b45e0 100644 (file)
@@ -55,7 +55,7 @@
                PIO_PERIPH_SEL(PIOB_BASE, BV(22), PIO_PERIPH_B); \
                /* Prescale the cpu clock to the frequenzy that we want. */\
                /* (multiply value of audio sample  rate) */\
-               PMC_PCK0 = PMC_PCK_CSS_PLL | PMC_PCK_PRES_CLK_4; \
+               PMC_PCK0 = PMC_PCK_CSS_PLL | PMC_PCK_PRES_CLK_8; \
                /* Enable the clock and wait until it starts correctly */ \
                PMC_SCER = BV(PMC_PCK0_ID); \
                while ((PMC_SR & BV(PMC_PCKRDY0)) == 0); \