Skip to content

Commit 9fcc4e4

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 b9aab6e commit 9fcc4e4

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
@@ -860,7 +860,7 @@ static int __maybe_unused atmel_pctrl_resume(struct device *dev)
860860
}
861861

862862
static const struct dev_pm_ops atmel_pctrl_pm_ops = {
863-
SET_SYSTEM_SLEEP_PM_OPS(atmel_pctrl_suspend, atmel_pctrl_resume)
863+
SET_LATE_SYSTEM_SLEEP_PM_OPS(atmel_pctrl_suspend, atmel_pctrl_resume)
864864
};
865865

866866
/*

0 commit comments

Comments
 (0)