Skip to content

Commit 8000f7d

Browse files
committed
Revert "[nrf toup] tests: drivers: counter: Add clock stabilization nRF"
This reverts commit 3e632dd. Will be applied again after the upmerge. Signed-off-by: Ioannis Glaropoulos <[email protected]>
1 parent 40846e7 commit 8000f7d

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

tests/drivers/counter/counter_basic_api/src/test_counter.c

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@
77
#include <drivers/counter.h>
88
#include <ztest.h>
99
#include <kernel.h>
10-
#ifdef CONFIG_SOC_FAMILY_NRF
11-
#include <drivers/clock_control/nrf_clock_control.h>
12-
#include <clock_control.h>
13-
#endif
1410

1511
static volatile u32_t top_cnt;
1612
static volatile u32_t alarm_cnt;
@@ -82,16 +78,6 @@ typedef void (*counter_test_func_t)(const char *dev_name);
8278

8379
static void counter_setup_instance(const char *dev_name)
8480
{
85-
#ifdef CONFIG_SOC_FAMILY_NRF
86-
struct device *clock =
87-
device_get_binding(DT_INST_0_NORDIC_NRF_CLOCK_LABEL "_32K");
88-
89-
__ASSERT_NO_MSG(clock);
90-
91-
while (clock_control_on(clock, (void *)CLOCK_CONTROL_NRF_K32SRC) != 0) {
92-
/* empty */
93-
}
94-
#endif
9581
alarm_cnt = 0U;
9682
}
9783

0 commit comments

Comments
 (0)