SAMA5 WM8904: Fix errors in programmable clock output configuration

This commit is contained in:
Gregory Nutt 2014-08-01 15:18:58 -06:00
parent 2e77455c6f
commit b722e46427
2 changed files with 3 additions and 3 deletions

View File

@ -276,12 +276,12 @@ int sam_wm8904_initialize(int minor)
goto errout_with_i2s;
}
/* Configure the DAC master clock. This clock is provided by PCK2 (PB10)
/* Configure the DAC master clock. This clock is provided by PCK0 (PD30)
* that is connected to the WM8904 MCLK.
*/
sam_sckc_enable(true);
(void)sam_pck_configure(PCK2, PCKSRC_SCK, BOARD_SLOWCLK_FREQUENCY);
(void)sam_pck_configure(PCK0, PCKSRC_SCK, BOARD_SLOWCLK_FREQUENCY);
/* Enable the DAC master clock */

View File

@ -285,7 +285,7 @@ int sam_wm8904_initialize(int minor)
/* Enable the DAC master clock */
sam_pck_enable(PCK0, true);
sam_pck_enable(PCK2, true);
/* Configure WM8904 interrupts */