There was an error while loading. Please reload this page.
1 parent 4a6a969 commit 04464f5Copy full SHA for 04464f5
drivers/clock_control/clock_control_nrf.c
@@ -442,13 +442,6 @@ void z_nrf_clock_bt_ctlr_hf_release(void)
442
hfclk_users &= ~HF_USER_BT;
443
/* Skip stopping if generic is still requesting the clock. */
444
if (!(hfclk_users & HF_USER_GENERIC)) {
445
-struct nrf_clock_control_sub_data *sub_data =
446
-get_sub_data(CLOCK_DEVICE, CLOCK_CONTROL_NRF_TYPE_HFCLK);
447
-
448
-/* State needs to be set to OFF as BT API does not call stop API which
449
- * normally setting this state.
450
- */
451
-sub_data->flags = CLOCK_CONTROL_STATUS_OFF;
452
hfclk_stop();
453
}
454
0 commit comments