Skip to content

Commit d4313ba

Browse files
committed
Revert "[nrf fromlist] tests: driver: nrf_clock_control: Verify that clocks are ready"
This reverts commit 42aca79. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
1 parent 24be03a commit d4313ba

File tree

1 file changed

+1
-9
lines changed
  • tests/drivers/clock_control/nrf_clock_control/src

1 file changed

+1
-9
lines changed

tests/drivers/clock_control/nrf_clock_control/src/main.c

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,6 @@ static void test_clock_control_request(const struct test_clk_context *clk_contex
194194
clk_dev = clk_context->clk_dev;
195195
clk_spec = &clk_context->clk_specs[u];
196196

197-
zassert_true(device_is_ready(clk_dev),
198-
"%s is not ready", clk_dev->name);
199-
200197
TC_PRINT("Applying clock (%s) spec: frequency %d, accuracy %d, precision "
201198
"%d\n",
202199
clk_dev->name, clk_spec->frequency, clk_spec->accuracy,
@@ -209,6 +206,7 @@ static void test_clock_control_request(const struct test_clk_context *clk_contex
209206
#if CONFIG_BOARD_NRF54H20DK_NRF54H20_CPUAPP
210207
ZTEST(nrf2_clock_control, test_cpuapp_hsfll_control)
211208
{
209+
212210
TC_PRINT("APPLICATION DOMAIN HSFLL test\n");
213211
/* Wait for the DVFS init to complete */
214212
k_msleep(3000);
@@ -242,9 +240,6 @@ ZTEST(nrf2_clock_control, test_invalid_fll16m_clock_spec_response)
242240
clk_dev = clk_context->clk_dev;
243241
clk_spec = &clk_context->clk_specs[u];
244242

245-
zassert_true(device_is_ready(clk_dev),
246-
"%s is not ready", clk_dev->name);
247-
248243
TC_PRINT("Applying clock (%s) spec: frequency %d, accuracy %d, precision "
249244
"%d\n",
250245
clk_dev->name, clk_spec->frequency, clk_spec->accuracy,
@@ -290,9 +285,6 @@ ZTEST(nrf2_clock_control, test_safe_request_cancellation)
290285
const struct device *clk_dev = clk_context->clk_dev;
291286
const struct nrf_clock_spec *clk_spec = &test_clk_specs_lfclk[0];
292287

293-
zassert_true(device_is_ready(clk_dev),
294-
"%s is not ready", clk_dev->name);
295-
296288
TC_PRINT("Safe clock request cancellation\n");
297289
TC_PRINT("Clock under test: %s\n", clk_dev->name);
298290
sys_notify_init_spinwait(&cli.notify);

0 commit comments

Comments
 (0)