Skip to content

Commit cb4443f

Browse files
AntonioBorneolinusw
authored andcommitted
pinctrl: stm32: fix PM support for stm32mp257
The driver for stm32mp257 is missing the suspend callback in struct dev_pm_ops. Add the callback, using the common stm32_pinctrl_suspend() function. Signed-off-by: Antonio Borneo <antonio.borneo@foss.st.com> Fixes: 619f8ca ("pinctrl: stm32: add stm32mp257 pinctrl support") Link: https://lore.kernel.org/r/20240207104604.174843-1-antonio.borneo@foss.st.com Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
1 parent 841c351 commit cb4443f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pinctrl/stm32/pinctrl-stm32mp257.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2562,7 +2562,7 @@ static const struct of_device_id stm32mp257_pctrl_match[] = {
25622562
};
25632563

25642564
static const struct dev_pm_ops stm32_pinctrl_dev_pm_ops = {
2565-
SET_LATE_SYSTEM_SLEEP_PM_OPS(NULL, stm32_pinctrl_resume)
2565+
SET_LATE_SYSTEM_SLEEP_PM_OPS(stm32_pinctrl_suspend, stm32_pinctrl_resume)
25662566
};
25672567

25682568
static struct platform_driver stm32mp257_pinctrl_driver = {

0 commit comments

Comments
 (0)