Skip to content

Commit 0020b12

Browse files
nordic-krchmib1-nordic
authored andcommitted
[nrf fromtree] drivers: serial: nrfx_uarte: Remove redundant pinctrl call
Pinctrl call is redundant as uarte_periph_enable calls it as well. Signed-off-by: Krzysztof Chruściński <[email protected]> (cherry picked from commit 7a6c7ea)
1 parent 7981aea commit 0020b12

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/serial/uart_nrfx_uarte.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3202,7 +3202,6 @@ static void uarte_pm_resume(const struct device *dev)
32023202
const struct uarte_nrfx_config *cfg = dev->config;
32033203

32043204
if (IS_ENABLED(CONFIG_PM_DEVICE_RUNTIME) || !LOW_POWER_ENABLED(cfg)) {
3205-
(void)pinctrl_apply_state(cfg->pcfg, PINCTRL_STATE_DEFAULT);
32063205
uarte_periph_enable(dev);
32073206
}
32083207
}

0 commit comments

Comments
 (0)