aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ipq806x/patches/0059-spmi-pm-drop-bus-level-PM-suspend-resume-routines.patch
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2015-02-11 10:09:23 +0000
committerJohn Crispin <john@openwrt.org>2015-02-11 10:09:23 +0000
commit88ddb3746188037afd38d631f7a893587fa8bdf0 (patch)
treedf4684db63441435126c4b6ff1fda4ce615e1ff0 /target/linux/ipq806x/patches/0059-spmi-pm-drop-bus-level-PM-suspend-resume-routines.patch
parentddcbef5766fa18f52e7a7d1928b25edc63e73937 (diff)
downloadupstream-88ddb3746188037afd38d631f7a893587fa8bdf0.tar.gz
upstream-88ddb3746188037afd38d631f7a893587fa8bdf0.tar.bz2
upstream-88ddb3746188037afd38d631f7a893587fa8bdf0.zip
ipq806x: update target to v3.18
Patches in the ipq806x/patches folder were out of tree in v3.14. The newest patch at the time was from June, so we can safely assume that either the patches have been merged, or they have been rejected for a good reason. If patches are seen missing, we'll cherry-pick them on a per-needed basis. This new kernel have been tested on AP148, which seems to works fine. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> SVN-Revision: 44386
Diffstat (limited to 'target/linux/ipq806x/patches/0059-spmi-pm-drop-bus-level-PM-suspend-resume-routines.patch')
-rw-r--r--target/linux/ipq806x/patches/0059-spmi-pm-drop-bus-level-PM-suspend-resume-routines.patch69
1 files changed, 0 insertions, 69 deletions
diff --git a/target/linux/ipq806x/patches/0059-spmi-pm-drop-bus-level-PM-suspend-resume-routines.patch b/target/linux/ipq806x/patches/0059-spmi-pm-drop-bus-level-PM-suspend-resume-routines.patch
deleted file mode 100644
index b8bb48cb4e..0000000000
--- a/target/linux/ipq806x/patches/0059-spmi-pm-drop-bus-level-PM-suspend-resume-routines.patch
+++ /dev/null
@@ -1,69 +0,0 @@
-From 9d13f01e2ec45253adaae1a330cdc4eb881c7377 Mon Sep 17 00:00:00 2001
-From: Josh Cartwright <joshc@codeaurora.org>
-Date: Mon, 3 Mar 2014 10:49:44 -0600
-Subject: [PATCH 059/182] spmi: pm: drop bus-level PM suspend/resume routines
-
-SPMI defines the behavior of a device in the "SLEEP" state as being
-"user-defined or specified by the device manufacturer". Without
-clearly-defined bus-level semantics for low-power states, push the
-responsibility of transitioning a device into/out of "SLEEP" into SPMI
-device drivers.
-
-Cc: Felipe Balbi <balbi@ti.com>
-Signed-off-by: Josh Cartwright <joshc@codeaurora.org>
-Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
----
- drivers/spmi/spmi.c | 35 -----------------------------------
- 1 file changed, 35 deletions(-)
-
---- a/drivers/spmi/spmi.c
-+++ b/drivers/spmi/spmi.c
-@@ -46,40 +46,6 @@ static const struct device_type spmi_ctr
- .release = spmi_ctrl_release,
- };
-
--#ifdef CONFIG_PM_RUNTIME
--static int spmi_runtime_suspend(struct device *dev)
--{
-- struct spmi_device *sdev = to_spmi_device(dev);
-- int err;
--
-- err = pm_generic_runtime_suspend(dev);
-- if (err)
-- return err;
--
-- return spmi_command_sleep(sdev);
--}
--
--static int spmi_runtime_resume(struct device *dev)
--{
-- struct spmi_device *sdev = to_spmi_device(dev);
-- int err;
--
-- err = spmi_command_wakeup(sdev);
-- if (err)
-- return err;
--
-- return pm_generic_runtime_resume(dev);
--}
--#endif
--
--static const struct dev_pm_ops spmi_pm_ops = {
-- SET_RUNTIME_PM_OPS(
-- spmi_runtime_suspend,
-- spmi_runtime_resume,
-- NULL
-- )
--};
--
- static int spmi_device_match(struct device *dev, struct device_driver *drv)
- {
- if (of_driver_match_device(dev, drv))
-@@ -391,7 +357,6 @@ static int spmi_drv_remove(struct device
- static struct bus_type spmi_bus_type = {
- .name = "spmi",
- .match = spmi_device_match,
-- .pm = &spmi_pm_ops,
- .probe = spmi_drv_probe,
- .remove = spmi_drv_remove,
- };