Skip to content

Commit 04464f5

Browse files
nordic-krchkartben
authored andcommitted
Revert "drivers: clock_control: nrf: Add missing flags clearing"
This reverts commit 804e502. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no>
1 parent 4a6a969 commit 04464f5

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

drivers/clock_control/clock_control_nrf.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -442,13 +442,6 @@ void z_nrf_clock_bt_ctlr_hf_release(void)
442442
hfclk_users &= ~HF_USER_BT;
443443
/* Skip stopping if generic is still requesting the clock. */
444444
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;
452445
hfclk_stop();
453446
}
454447

0 commit comments

Comments
 (0)