Patch "pinctrl: stm32: fix PM support for stm32mp257" has been added to the 6.7-stable tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is a note to let you know that I've just added the patch titled

    pinctrl: stm32: fix PM support for stm32mp257

to the 6.7-stable tree which can be found at:
    http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary

The filename of the patch is:
     pinctrl-stm32-fix-pm-support-for-stm32mp257.patch
and it can be found in the queue-6.7 subdirectory.

If you, or anyone else, feels it should not be added to the stable tree,
please let <stable@xxxxxxxxxxxxxxx> know about it.



commit be0aece66e28dd53d657be6aeb5b523c4dd3f7c0
Author: Antonio Borneo <antonio.borneo@xxxxxxxxxxx>
Date:   Wed Feb 7 11:46:04 2024 +0100

    pinctrl: stm32: fix PM support for stm32mp257
    
    [ Upstream commit cb4443f26b43efa54494b8de8a50457febb06940 ]
    
    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@xxxxxxxxxxx>
    Fixes: 619f8ca4a73d ("pinctrl: stm32: add stm32mp257 pinctrl support")
    Link: https://lore.kernel.org/r/20240207104604.174843-1-antonio.borneo@xxxxxxxxxxx
    Signed-off-by: Linus Walleij <linus.walleij@xxxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/pinctrl/stm32/pinctrl-stm32mp257.c b/drivers/pinctrl/stm32/pinctrl-stm32mp257.c
index 73f091cd827e6..23aebd4695e99 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 = {




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux