Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions drivers/serial/uart_nrfx_uarte.c
Original file line number Diff line number Diff line change
Expand Up @@ -2338,13 +2338,13 @@ static void uarte_pm_suspend(const struct device *dev)
wait_for_tx_stopped(dev);
}

#ifdef CONFIG_SOC_NRF54H20_GPD
nrf_gpd_retain_pins_set(cfg->pcfg, true);
#endif
(void)pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_SLEEP);

nrf_uarte_disable(uarte);

(void)pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_SLEEP);
#ifdef CONFIG_SOC_NRF54H20_GPD
nrf_gpd_retain_pins_set(cfg->pcfg, true);
#endif
}

static int uarte_nrfx_pm_action(const struct device *dev, enum pm_device_action action)
Expand Down