diff --git a/drivers/serial/uart_nrfx_uarte.c b/drivers/serial/uart_nrfx_uarte.c index a0f1f041cd5..13ecd313426 100644 --- a/drivers/serial/uart_nrfx_uarte.c +++ b/drivers/serial/uart_nrfx_uarte.c @@ -1956,10 +1956,11 @@ static int uarte_nrfx_pm_action(const struct device *dev, nrf_uarte_enable(uarte); #ifdef UARTE_ANY_ASYNC - if (HW_RX_COUNTING_ENABLED(data)) { - nrfx_timer_enable(&cfg->timer); - } if (data->async) { + if (HW_RX_COUNTING_ENABLED(data)) { + nrfx_timer_enable(&cfg->timer); + } + return 0; } #endif