SAMA5 PCK: Add support for the slow clock as the PCK clock source
This commit is contained in:
parent
f240f7e513
commit
54986c41d8
@ -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);
|
||||
|
||||
|
@ -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 */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user