Skip to content

Commit df15d55

Browse files
committed
pinctrl: at91-pio4: use suspend_late and resume_early
Prefer using suspend_late and resume_early to be sure that all devices have already updated the pin configuration if needed before suspending. Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
1 parent 483db38 commit df15d55

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/pinctrl/pinctrl-at91-pio4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ static int __maybe_unused atmel_pctrl_resume(struct device *dev)
921921
}
922922

923923
static const struct dev_pm_ops atmel_pctrl_pm_ops = {
924-
SET_SYSTEM_SLEEP_PM_OPS(atmel_pctrl_suspend, atmel_pctrl_resume)
924+
SET_LATE_SYSTEM_SLEEP_PM_OPS(atmel_pctrl_suspend, atmel_pctrl_resume)
925925
};
926926

927927
/*

0 commit comments

Comments
 (0)