mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
SAMA5 WM8904: Fix errors in programmable clock output configuration
This commit is contained in:
@@ -100,7 +100,7 @@ void sam_sckc_enable(bool enable)
|
||||
regval |= SCKC_CR_OSC32EN;
|
||||
putreg32(regval, SAM_SCKC_CR);
|
||||
|
||||
/* Wait 5 slow clock cycles for clock stabilization */
|
||||
/* Wait for 32,768 XTAL start-up time */
|
||||
|
||||
up_udelay(5 * USEC_PER_SEC / BOARD_SLOWCLK_FREQUENCY);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user