Skip to content

Commit e612587

Browse files
nordic-krchcarlescufi
authored andcommitted
drivers: clock_control: nrf: Add handling of HFCLK192M_STARTED event
An event was not handled by the clock control resulting in assert and lack of notification about clock readiness. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
1 parent 87e3ec4 commit e612587

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
@@ -574,6 +574,11 @@ static void clock_event_handler(nrfx_clock_evt_type_t event)
574574

575575
break;
576576
}
577+
#if NRF_CLOCK_HAS_HFCLK192M
578+
case NRFX_CLOCK_EVT_HFCLK192M_STARTED:
579+
clkstarted_handle(dev, CLOCK_CONTROL_NRF_TYPE_HFCLK192M);
580+
break;
581+
#endif
577582
case NRFX_CLOCK_EVT_LFCLK_STARTED:
578583
if (IS_ENABLED(
579584
CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC_CALIBRATION)) {

0 commit comments

Comments
 (0)