diff options
author | Mirko Vogt <mirko@openwrt.org> | 2008-12-12 11:58:53 +0000 |
---|---|---|
committer | Mirko Vogt <mirko@openwrt.org> | 2008-12-12 11:58:53 +0000 |
commit | 614683faf8029100802db06a825648d0b6490285 (patch) | |
tree | 7401b135dc7ce24ff0175e67e0f2ce7f96296ff0 /target/linux/s3c24xx/patches-2.6.24/1135-gta01-gps-power-state-resume-preserve.patch.patch | |
parent | 4a018d2445c5f249179ff82c8fffb0e3b717f738 (diff) | |
download | master-31e0f0ae-614683faf8029100802db06a825648d0b6490285.tar.gz master-31e0f0ae-614683faf8029100802db06a825648d0b6490285.tar.bz2 master-31e0f0ae-614683faf8029100802db06a825648d0b6490285.zip |
changed Makefile and profiles, added patches for kernel 2.6.24 (stable-branch of Openmoko)
SVN-Revision: 13613
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.24/1135-gta01-gps-power-state-resume-preserve.patch.patch')
-rw-r--r-- | target/linux/s3c24xx/patches-2.6.24/1135-gta01-gps-power-state-resume-preserve.patch.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.24/1135-gta01-gps-power-state-resume-preserve.patch.patch b/target/linux/s3c24xx/patches-2.6.24/1135-gta01-gps-power-state-resume-preserve.patch.patch new file mode 100644 index 0000000000..1540a74416 --- /dev/null +++ b/target/linux/s3c24xx/patches-2.6.24/1135-gta01-gps-power-state-resume-preserve.patch.patch @@ -0,0 +1,34 @@ +From 5ccaca2adb1c37b5955a4733f68ae08a755e3d78 Mon Sep 17 00:00:00 2001 +From: Mike Westerhof <mwester@dls.net> +Date: Wed, 16 Apr 2008 20:51:31 +0100 +Subject: [PATCH] gta01-gps-power-state-resume-preserve.patch + +Created an attachment (id=593) / from BZ#79 +Updated patch to preserve the power state of the GPS on the GTA01 + +Currently the GPS is powered up after a suspend/resume occurs. This patch will +only power the GPS back up if it was powered up when the GTA01 suspended. + +Signed-off-by: Mike Westerhof <mwester@dls.net> +--- + arch/arm/plat-s3c24xx/neo1973_pm_gps.c | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/arch/arm/plat-s3c24xx/neo1973_pm_gps.c b/arch/arm/plat-s3c24xx/neo1973_pm_gps.c +index d020f8d..9c6adfa 100644 +--- a/arch/arm/plat-s3c24xx/neo1973_pm_gps.c ++++ b/arch/arm/plat-s3c24xx/neo1973_pm_gps.c +@@ -514,8 +514,8 @@ static int gta01_pm_gps_resume(struct platform_device *pdev) + { + #ifdef CONFIG_MACH_NEO1973_GTA01 + if (machine_is_neo1973_gta01()) { +- /* FIXME */ +- gps_power_sequence_up(); ++ if (neo1973_gps.power_was_on) ++ gps_power_sequence_up(); + } + #endif /* CONFIG_MACH_NEO1973_GTA01 */ + +-- +1.5.6.5 + |