Skip to content

Commit 4c63c1c

Browse files
committed
[nrf fromtree] drivers: clock_control: nrf: ignore XOTUNE-related events 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 2692f16)
1 parent 771dbfe commit 4c63c1c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/clock_control/clock_control_nrf.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -623,6 +623,11 @@ static void clock_event_handler(nrfx_clock_evt_type_t event)
623623
}
624624
break;
625625
case NRFX_CLOCK_EVT_PLL_STARTED:
626+
#if NRF_CLOCK_HAS_XO_TUNE
627+
case NRFX_CLOCK_EVT_XO_TUNED:
628+
case NRFX_CLOCK_EVT_XO_TUNE_ERROR:
629+
case NRFX_CLOCK_EVT_XO_TUNE_FAILED:
630+
#endif
626631
{
627632
/* unhandled event */
628633
break;

0 commit comments

Comments
 (0)