Skip to content

Commit 6b77915

Browse files
nika-nordicrlubos
authored andcommitted
[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 ae94cdf commit 6b77915

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
@@ -638,6 +638,11 @@ static void clock_event_handler(nrfx_clock_evt_type_t event)
638638
}
639639
break;
640640
case NRFX_CLOCK_EVT_PLL_STARTED:
641+
#if NRF_CLOCK_HAS_XO_TUNE
642+
case NRFX_CLOCK_EVT_XO_TUNED:
643+
case NRFX_CLOCK_EVT_XO_TUNE_ERROR:
644+
case NRFX_CLOCK_EVT_XO_TUNE_FAILED:
645+
#endif
641646
{
642647
/* unhandled event */
643648
break;

0 commit comments

Comments
 (0)