Skip to content

Commit

Permalink
[nrf fromtree] drivers: clock_control: nrf: ignore XOTUNE-related eve…
Browse files Browse the repository at this point in the history
…nts for now

New events from nrfx_clock driver are not utilized for now
by the clock_control, so should be ignored to avoid assertion.

Signed-off-by: Nikodem Kastelik <[email protected]>
(cherry picked from commit 2692f167576b74c0a9f13309d5a55f88a93f2cc6)
  • Loading branch information
nika-nordic committed Feb 3, 2025
1 parent 1a719cc commit 1d95a6a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/clock_control/clock_control_nrf.c
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,11 @@ static void clock_event_handler(nrfx_clock_evt_type_t event)
}
break;
case NRFX_CLOCK_EVT_PLL_STARTED:
#if NRF_CLOCK_HAS_XO_TUNE
case NRFX_CLOCK_EVT_XO_TUNED:
case NRFX_CLOCK_EVT_XO_TUNE_ERROR:
case NRFX_CLOCK_EVT_XO_TUNE_FAILED:
#endif
{
/* unhandled event */
break;
Expand Down

0 comments on commit 1d95a6a

Please sign in to comment.