@@ -48,14 +48,6 @@ LOG_MODULE_REGISTER(clock_control, CONFIG_CLOCK_CONTROL_LOG_LEVEL);
4848#define INF (dev , subsys , ...) CLOCK_LOG(INF, dev, subsys, __VA_ARGS__)
4949#define DBG (dev , subsys , ...) CLOCK_LOG(DBG, dev, subsys, __VA_ARGS__)
5050
51- #if defined(NRF54L05_XXAA ) || defined(NRF54L10_XXAA ) || defined(NRF54L15_XXAA )
52- #if NRFX_RELEASE_VER_AT_LEAST (3 , 11 , 0 )
53- #error "Remove workaround for XOSTART as it is already done in the nrfx clock"
54- #endif
55-
56- #define USE_WORKAROUND_FOR_CLOCK_XOSTART_ANOMALY 1
57- #endif
58-
5951/* Clock subsys structure */
6052struct nrf_clock_control_sub_data {
6153 clock_control_cb_t cb ;
@@ -243,9 +235,6 @@ static void hfclk_start(void)
243235 hf_start_tstamp = k_uptime_get ();
244236 }
245237
246- #ifdef USE_WORKAROUND_FOR_CLOCK_XOSTART_ANOMALY
247- nrf_clock_task_trigger (NRF_CLOCK , NRF_CLOCK_TASK_PLLSTART );
248- #endif
249238 nrfx_clock_hfclk_start ();
250239}
251240
@@ -256,9 +245,6 @@ static void hfclk_stop(void)
256245 }
257246
258247 nrfx_clock_hfclk_stop ();
259- #ifdef USE_WORKAROUND_FOR_CLOCK_XOSTART_ANOMALY
260- nrf_clock_task_trigger (NRF_CLOCK , NRF_CLOCK_TASK_PLLSTOP );
261- #endif
262248}
263249
264250#if NRF_CLOCK_HAS_HFCLK192M
0 commit comments