diff options
author | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-03-14 15:52:42 +0000 |
---|---|---|
committer | nbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73> | 2009-03-14 15:52:42 +0000 |
commit | 26e3776a22bf894ced5af4c28968dc1dc99968eb (patch) | |
tree | 2d38a3789e27a423439c37a45a09cae31990a615 /target/linux/s3c24xx/patches-2.6.26/1091-fix-suspend-gps-tx-level.patch.patch | |
parent | 4bd70fc26256cf485f19e0c8b881e078dc36134f (diff) |
nuke obsolete kernel stuff
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14875 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/s3c24xx/patches-2.6.26/1091-fix-suspend-gps-tx-level.patch.patch')
-rwxr-xr-x | target/linux/s3c24xx/patches-2.6.26/1091-fix-suspend-gps-tx-level.patch.patch | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/target/linux/s3c24xx/patches-2.6.26/1091-fix-suspend-gps-tx-level.patch.patch b/target/linux/s3c24xx/patches-2.6.26/1091-fix-suspend-gps-tx-level.patch.patch deleted file mode 100755 index 41b692a1be..0000000000 --- a/target/linux/s3c24xx/patches-2.6.26/1091-fix-suspend-gps-tx-level.patch.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 626e5a4e87bfc9471c3ded7da839c41a94088843 Mon Sep 17 00:00:00 2001 -From: warmcat <andy@warmcat.com> -Date: Fri, 25 Jul 2008 23:06:02 +0100 -Subject: [PATCH] fix-suspend-gps-tx-level.patch - -We used to drive output high into GPS unit in suspend - -Signed-off-by: Andy Green <andy@openmoko.com> ---- - arch/arm/plat-s3c24xx/neo1973_pm_gps.c | 14 ++++++++++++++ - 1 files changed, 14 insertions(+), 0 deletions(-) - -diff --git a/arch/arm/plat-s3c24xx/neo1973_pm_gps.c b/arch/arm/plat-s3c24xx/neo1973_pm_gps.c -index 6bd8054..e8cfb96 100644 ---- a/arch/arm/plat-s3c24xx/neo1973_pm_gps.c -+++ b/arch/arm/plat-s3c24xx/neo1973_pm_gps.c -@@ -485,6 +485,12 @@ static int gta01_pm_gps_suspend(struct platform_device *pdev, - - #ifdef CONFIG_MACH_NEO1973_GTA02 - if (machine_is_neo1973_gta02()) { -+ /* take care not to power unpowered GPS from GPIO */ -+ s3c2410_gpio_cfgpin(S3C2410_GPH4, S3C2410_GPH4_OUTP); -+ s3c2410_gpio_setpin(S3C2410_GPH4, 0); -+ /* don't let RX from unpowered GPS float */ -+ s3c2410_gpio_pullup(S3C2410_GPH5, 1); -+ - /* FIXME */ - pcf50633_onoff_set(pcf50633_global, - PCF50633_REGULATOR_LDO5, 0); -@@ -505,6 +511,14 @@ static int gta01_pm_gps_resume(struct platform_device *pdev) - - #ifdef CONFIG_MACH_NEO1973_GTA02 - if (machine_is_neo1973_gta02()) { -+ /* -+ * resume TXD1 function since we power GPS now... er.. -+ * WTF? FIXME We always power GPS on resume ?? -+ */ -+ s3c2410_gpio_cfgpin(S3C2410_GPH4, S3C2410_GPH4_TXD1); -+ /* remove pulldown now it won't be floating any more */ -+ s3c2410_gpio_pullup(S3C2410_GPH5, 0); -+ - /* FIXME */ - pcf50633_onoff_set(pcf50633_global, - PCF50633_REGULATOR_LDO5, 1); --- -1.5.6.3 - |