Skip to content

Commit ece36e6

Browse files
ldesrochesryan-wanner
authored andcommitted
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 35742f1 commit ece36e6

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
@@ -1056,7 +1056,7 @@ static int __maybe_unused atmel_pctrl_resume(struct device *dev)
10561056
}
10571057

10581058
static const struct dev_pm_ops atmel_pctrl_pm_ops = {
1059-
SET_SYSTEM_SLEEP_PM_OPS(atmel_pctrl_suspend, atmel_pctrl_resume)
1059+
SET_LATE_SYSTEM_SLEEP_PM_OPS(atmel_pctrl_suspend, atmel_pctrl_resume)
10601060
};
10611061

10621062
/*

0 commit comments

Comments
 (0)