Patch "bus: sunxi-rsb: Remove the shutdown callback" has been added to the 6.0-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

    bus: sunxi-rsb: Remove the shutdown callback

to the 6.0-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:
     bus-sunxi-rsb-remove-the-shutdown-callback.patch
and it can be found in the queue-6.0 subdirectory.

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



commit b75208806f9d39415562f2d00fbe0728c635eb08
Author: Samuel Holland <samuel@xxxxxxxxxxxx>
Date:   Sun Nov 13 19:57:47 2022 -0600

    bus: sunxi-rsb: Remove the shutdown callback
    
    [ Upstream commit 5f4696ddca4b8a0bbbc36bd46829f97aab5a4552 ]
    
    Shutting down the RSB controller prevents communicating with a PMIC
    inside pm_power_off(), since that gets called after device_shutdown(),
    so it breaks system poweroff on some boards.
    
    Reported-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@xxxxxxxxx>
    Tested-by: Ivaylo Dimitrov <ivo.g.dimitrov.75@xxxxxxxxx>
    Acked-by: Jernej Skrabec <jernej.skrabec@xxxxxxxxx>
    Fixes: 843107498f91 ("bus: sunxi-rsb: Implement suspend/resume/shutdown callbacks")
    Signed-off-by: Samuel Holland <samuel@xxxxxxxxxxxx>
    Link: https://lore.kernel.org/r/20221114015749.28490-2-samuel@xxxxxxxxxxxx
    Signed-off-by: Jernej Skrabec <jernej.skrabec@xxxxxxxxx>
    Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>

diff --git a/drivers/bus/sunxi-rsb.c b/drivers/bus/sunxi-rsb.c
index 4cd2e127946e..17343cd75338 100644
--- a/drivers/bus/sunxi-rsb.c
+++ b/drivers/bus/sunxi-rsb.c
@@ -812,14 +812,6 @@ static int sunxi_rsb_remove(struct platform_device *pdev)
 	return 0;
 }
 
-static void sunxi_rsb_shutdown(struct platform_device *pdev)
-{
-	struct sunxi_rsb *rsb = platform_get_drvdata(pdev);
-
-	pm_runtime_disable(&pdev->dev);
-	sunxi_rsb_hw_exit(rsb);
-}
-
 static const struct dev_pm_ops sunxi_rsb_dev_pm_ops = {
 	SET_RUNTIME_PM_OPS(sunxi_rsb_runtime_suspend,
 			   sunxi_rsb_runtime_resume, NULL)
@@ -835,7 +827,6 @@ MODULE_DEVICE_TABLE(of, sunxi_rsb_of_match_table);
 static struct platform_driver sunxi_rsb_driver = {
 	.probe = sunxi_rsb_probe,
 	.remove	= sunxi_rsb_remove,
-	.shutdown = sunxi_rsb_shutdown,
 	.driver	= {
 		.name = RSB_CTRL_NAME,
 		.of_match_table = sunxi_rsb_of_match_table,



[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