summaryrefslogtreecommitdiff
path: root/drivers/pinctrl/stm32/pinctrl-stm32mp257.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2024-03-08 13:13:20 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2024-03-08 13:13:20 -0800
commit49deb2805fdcd366b7a9123cec7914b93b543f75 (patch)
treed12b59505724e58f70398a117421fafb9c58c46f /drivers/pinctrl/stm32/pinctrl-stm32mp257.c
parent7a4f31c7765e63e3219eac1e822ab16df09f318c (diff)
parentf6443e0177a55f78e94ccc1a43eb63a023a0b6fd (diff)
Merge tag 'pinctrl-v6.8-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl
Pull pin control fixes from Linus Walleij: - Fix the PM suspend callback in the STM32 ST32MP257 driver to properly support suspend - Drop an extraneous reference put in the debugfs code, this was confusing the reference counts and causing unsolicited calls to __free() * tag 'pinctrl-v6.8-3' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-pinctrl: pinctrl: don't put the reference to GPIO device in pinctrl_pins_show() pinctrl: stm32: fix PM support for stm32mp257
Diffstat (limited to 'drivers/pinctrl/stm32/pinctrl-stm32mp257.c')
-rw-r--r--drivers/pinctrl/stm32/pinctrl-stm32mp257.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/stm32/pinctrl-stm32mp257.c b/drivers/pinctrl/stm32/pinctrl-stm32mp257.c
index 73f091cd827e..23aebd4695e9 100644
--- a/drivers/pinctrl/stm32/pinctrl-stm32mp257.c
+++ b/drivers/pinctrl/stm32/pinctrl-stm32mp257.c
@@ -2562,7 +2562,7 @@ static const struct of_device_id stm32mp257_pctrl_match[] = {
};
static const struct dev_pm_ops stm32_pinctrl_dev_pm_ops = {
- SET_LATE_SYSTEM_SLEEP_PM_OPS(NULL, stm32_pinctrl_resume)
+ SET_LATE_SYSTEM_SLEEP_PM_OPS(stm32_pinctrl_suspend, stm32_pinctrl_resume)
};
static struct platform_driver stm32mp257_pinctrl_driver = {