aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.28/005-dont-suspend-regulator.patch
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2009-07-05 09:50:50 +0000
committerLars-Peter Clausen <lars@metafoo.de>2009-07-05 09:50:50 +0000
commitf93175ec502cf99a8ee6190607aa0662a406f0a0 (patch)
tree3ea2f3040bc13220546e24170f2ca4d2ba724a3f /target/linux/s3c24xx/patches-2.6.28/005-dont-suspend-regulator.patch
parent4a3f1f0a362752b4a2d7cadfad632a586520b836 (diff)
downloadupstream-f93175ec502cf99a8ee6190607aa0662a406f0a0.tar.gz
upstream-f93175ec502cf99a8ee6190607aa0662a406f0a0.tar.bz2
upstream-f93175ec502cf99a8ee6190607aa0662a406f0a0.zip
[s3c24xx] Remove 2.6.28 config and patches.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16681 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.28/005-dont-suspend-regulator.patch')
-rw-r--r--target/linux/s3c24xx/patches-2.6.28/005-dont-suspend-regulator.patch61
1 files changed, 0 insertions, 61 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.28/005-dont-suspend-regulator.patch b/target/linux/s3c24xx/patches-2.6.28/005-dont-suspend-regulator.patch
deleted file mode 100644
index ac51ce3d63..0000000000
--- a/target/linux/s3c24xx/patches-2.6.28/005-dont-suspend-regulator.patch
+++ /dev/null
@@ -1,61 +0,0 @@
-From: Balaji Rao <balajirrao@openmoko.org>
-Date: Mon, 5 Jan 2009 10:33:28 +0000 (+0000)
-Subject: pcf50633 remove suspend_enable/disable regulator functions
-X-Git-Tag: fork-to-stable-2.6.29-rc2~142
-X-Git-Url: http://git.openmoko.org/?p=kernel.git;a=commitdiff_plain;h=276709515c384f4239c9479b56fcf008ae37eec8
-
-pcf50633 remove suspend_enable/disable regulator functions
-
-Since we don't switch to PMU.standby, on suspend we should not
-be defining these.
-
-Btw, this fixes the WSOD I observed on andy-tracking and also
-gets rid of the regulator related backtrace seen upon resume.
-
-Signed-off-by: Balaji Rao <balajirrao@openmoko.org>
----
-
---- a/arch/arm/plat-s3c/pm.c
-+++ b/arch/arm/plat-s3c/pm.c
-@@ -18,7 +18,6 @@
- #include <linux/delay.h>
- #include <linux/serial_core.h>
- #include <linux/io.h>
--#include <linux/regulator/machine.h>
-
- #include <asm/cacheflush.h>
- #include <mach/hardware.h>
-@@ -353,22 +352,11 @@ static void s3c_pm_finish(void)
- s3c_pm_check_cleanup();
- }
-
--static int s3c_pm_begin(suspend_state_t state)
--{
-- int ret = 0;
--
--#ifdef CONFIG_REGULATOR
-- ret = regulator_suspend_prepare(state);
--#endif
-- return ret;
--}
--
- static struct platform_suspend_ops s3c_pm_ops = {
- .enter = s3c_pm_enter,
- .prepare = s3c_pm_prepare,
- .finish = s3c_pm_finish,
- .valid = suspend_valid_only_mem,
-- .begin = s3c_pm_begin,
- };
-
- /* s3c_pm_init
---- a/drivers/regulator/pcf50633-regulator.c
-+++ b/drivers/regulator/pcf50633-regulator.c
-@@ -249,8 +249,6 @@ struct regulator_ops pcf50633_regulator_
- .enable = pcf50633_regulator_enable,
- .disable = pcf50633_regulator_disable,
- .is_enabled = pcf50633_regulator_is_enabled,
-- .set_suspend_enable = pcf50633_regulator_enable,
-- .set_suspend_disable = pcf50633_regulator_disable,
- };
-
- static struct regulator_desc regulators[] = {