-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Labels
area: Clock ControlbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: nRFNordic nRFxNordic nRFxpriority: mediumMedium impact/importance bugMedium impact/importance bug
Description
Describe the bug
Per discussion in #20708, the non-async clock enable function clock_control_on() should block until the clock is ready, but the nRF clock driver doesn't.
To Reproduce
- call clock_control_on() on an nRF clock that isn't already enabled
- observe clock_start() in nrf_power_clock.c calls clock_async_start() directly with no callback
- without a callback, note clock_async_start() returns before the clock may be ready
Expected behavior
Clock status should be definitely ready by the time clock_control_on() returns.
Impact
Unknown.
Environment (please complete the following information):
nRF platform, possibly others.
Additional context
Metadata
Metadata
Assignees
Labels
area: Clock ControlbugThe issue is a bug, or the PR is fixing a bugThe issue is a bug, or the PR is fixing a bugplatform: nRFNordic nRFxNordic nRFxpriority: mediumMedium impact/importance bugMedium impact/importance bug