SAMA5 PCK: Add support for the slow clock as the PCK clock source

This commit is contained in:
Gregory Nutt 2014-07-19 13:55:08 -06:00
parent f240f7e513
commit 54986c41d8
2 changed files with 2 additions and 2 deletions

View File

@ -194,7 +194,7 @@ static inline int ov2640_camera_initialize(void)
/* Configure and enable the PCK1 output */
actual = sam_pck_configure(PCK1, OV2640_FREQUENCY);
actual = sam_pck_configure(PCK1, PCKSRC_MCK, OV2640_FREQUENCY);
gvdbg("Desired PCK1 frequency: %ld Actual: %ld\n",
(long)OV2640_FREQUENCY, (long)actual);

View File

@ -280,7 +280,7 @@ int sam_wm8904_initialize(int minor)
*/
sam_sckc_enable(true);
(void)sam_pck_configure(PCK0, BOARD_SLOWCLK_FREQUENCY);
(void)sam_pck_configure(PCK0, PCKSRC_SCK, BOARD_SLOWCLK_FREQUENCY);
/* Enable the DAC master clock */